DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
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
    >



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links