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:
01167712
Views:
6
>>I have never had it happened to me but I was wondering of what are the case(s) when DECLARE ShellExecture would fail? That is, I am thinking if I should put this DECLARE call in TRY/CATCH?
>>
>>Thank you in advance for any suggestions
>
>Dmitry,
>
>Check this out:
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp

Dawa,

Thank you for the document. It is very informative. However, I am looking for more of practical cases that would cause the DECLARE fail. I guess one thing is if someone erases the .dll file from the drive. And I guess it would not hurt to place TRY/CATCH around it since the DLL is only loaded once.
"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