TreeView


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: TreeView

  1. #1
    Silvia Guest

    TreeView


    I'm using Microsoft InterDev to create an ASP Page where I want to insert
    a tree structure using the ActiveX Control named TreeView.
    When I want to display the result the browser shows me this kind of error:

    Errore di compilazione di Microsoft VBScript error '800a0401'

    Previewd end instruction

    /Ari/TreeView.asp, line 29

    Dim nodo As Node
    ---------^

    I realized the same in Visual Basic using the same control, it's all right.
    What can I do?
    Silvia


  2. #2
    Kristof Guest

    Re: TreeView


    You should declare your node without the as :
    dim nodo

    Normally it should work like this.

    "Silvia" <kocci@libero.it> wrote:
    >
    >I'm using Microsoft InterDev to create an ASP Page where I want to insert
    >a tree structure using the ActiveX Control named TreeView.
    >When I want to display the result the browser shows me this kind of error:
    >
    >Errore di compilazione di Microsoft VBScript error '800a0401'
    >
    >Previewd end instruction
    >
    >/Ari/TreeView.asp, line 29
    >
    >Dim nodo As Node
    >---------^
    >
    >I realized the same in Visual Basic using the same control, it's all right.
    >What can I do?
    >Silvia
    >



  3. #3
    MCSDon Guest

    Re: TreeView


    I have not used the tree view Control before, but the code your using is incorrect.
    Remember, vbscript isn't the same as visual basic -- Dim var as object
    is not a valid vbscript line. Probably the code should be set var = treeName.Node
    or .addNode something like that, I am not sure of what the method is?




    "Silvia" <kocci@libero.it> wrote:
    >
    >I'm using Microsoft InterDev to create an ASP Page where I want to insert
    >a tree structure using the ActiveX Control named TreeView.
    >When I want to display the result the browser shows me this kind of error:
    >
    >Errore di compilazione di Microsoft VBScript error '800a0401'
    >
    >Previewd end instruction
    >
    >/Ari/TreeView.asp, line 29
    >
    >Dim nodo As Node
    >---------^
    >
    >I realized the same in Visual Basic using the same control, it's all right.
    >What can I do?
    >Silvia
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center