|
-
Nov 21st, 1999, 01:18 AM
#1
Thread Starter
New Member
Hello, I am starting to understand the shell function, but the error from the shell is the thing I don't get.
I have this
----code----
dim path as string
path = text1.text
shell (path)
----code----
Pretty easy, I have text1 the path. The USER locates the path from a Commondialog.
But sometimes the path isn't found and an error comes up from the shell.
How do I cancle this error and continue on to a diffrent action.
An action like,
If shell(path) = false then
do action here
msgbox ("Path not found please try locating it again")
something like that.
Please help, thank you
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
|