Click to See Complete Forum and Search --> : TreeView
Silvia
07-06-2000, 12:00 PM
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
Kristof
07-06-2000, 02:38 PM
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
>
MCSDon
07-07-2000, 03:12 AM
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
>
devx.com
Copyright Internet.com Inc. All Rights Reserved