hi,
i am getting Run time error '13': Type mismatch error.

below is my code:

Dim ndMain As Node

Set ndMain = TreeMain.Nodes.Add(, , "Root", "Main Menu", "myappname")

thanks,
krunal

Recommended Answers

All 4 Replies

ok got the solution.
Dim ndMain As object

Set ndMain = TreeMain.Nodes.Add(, , "Root", "Main Menu", "myappname")

-->>Hi krunal1986,I dont know what is the use of your code but I think Iam interested with it...
-->>Can you ellaborate to me what is the use of the code please...
-->>Tanx.

hi bile,

actually i am working on already written code.even i don't know what is the use of that code..usually i am working on asp.net.

-->>Ok,but from your solution what was the efect or the functionality of the code may be?
-->>Tanx.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.