|
-
Sep 8th, 2004, 06:29 AM
#1
Thread Starter
PowerPoster
path navigation
hi there.
i basically have a program which displays lists of files in one filelist box, and can navigate using the treenode/view box.
i have a text box where the user can type in the path to navigate to.
if the user enters the incorrect path, a message appears (exception) which i have caught.
however
if the user types in an invalid path BUT then without clicking the "navigate" button, they click on a node in the treeview, the program generates an exception (Visual Studio.net)
because it is adding the path with whatever is in the textbox + the current treenode it is on, therefore the error is thrown at me
how can i sort this? I want it so that if the invalid path has been entered then user clicks on a node in the treeview, i want to get the path of that treenode they selected and put that in the textbox
thanks!
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
|
Click Here to Expand Forum to Full Width
|