Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What would cause ShellExecute to fail?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01167698
Message ID:
01167798
Views:
6
>
>Well, shell32.dll is an essential file of the OS. It is used by Explorer which is Windows' main user interface. The OS wouldn't allow to delete the file.
>Yes, you're right. It might fail for other reasons and it doesn't hurt to catch the exception. You might want to add code in Error event or On Error too, wherever is appropriate. My philosophy is to trap every single error if possible and handle them appropriately.
>
>I use ShellExecute in my app too, so far I havn't had any problem or errors reported from that ( I log run time errors in a dbf).
>
>HTH

Thank you very much for your helpful input.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform