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