Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to suppress commondialog open file dialog?
Message
From
19/12/2001 13:43:27
 
 
To
18/12/2001 06:44:42
General information
Forum:
Windows
Category:
Security
Miscellaneous
Thread ID:
00595518
Message ID:
00596324
Views:
21
Hi Lars

>Hi,
>Is it possible to suppress the open file dialog (comdlg). So, any application that tries to open a file using the common dialog dialog will fail. Any idea?
>Thanks
>Lars

Try it
lcOldError = ON('ERROR')
llError = .f.
On ERROR llError = .T.
sele 0
use myunpresentfile
If  llError
    wait window "My file was not there.. Press any key !!"
endif
On ERROR &lcOldError
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Reply
Map
View

Click here to load this message in the networking platform