-
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
-
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
>
-
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
Forum Rules
|
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
|
Bookmarks