ShellExecute

danny123

Registered User.
Local time
Today, 04:21
Joined
Jul 21, 2006
Messages
100
Hi there..

In one form there is a button which on click open the document specified at the location in other textbox using shellExecute command. It was working fine but suddenly it stoped working now when i click on button it just dont do anything.
I am explaining one more time to clear confusion.There is one textbox in which user specify the file location.
there is one button which on click opens the file at the spcified location in textbox using shellExecute command.

Thanks
Danny
 
This is the code for the button on click

Private Sub Command2240_Click()
ShellExecute 0, "open", Text2238.Value, "", "", 1
End Sub

Keeping in mind tht this was working fine and nothing is being changed.

Thanks
Danny
 
I got the error. Users were not using the extension of the file and for the reason file was not opening .
Thanks for all your responses.

Best
Danny
 

Users who are viewing this thread

Back
Top Bottom