PDA

Click to See Complete Forum and Search --> : ole


kbot
Mar 6th, 2001, 10:46 AM
i'm realatively new to vb and i'm trying to open an exe file with a command button, so far all i can get is one error message after the other.

can anyone help me out with how to do this?

thanks

hayessj
Mar 7th, 2001, 07:30 AM
I'm not too clear on what are you trying to do here. If you want to run another application and know the path to it then use the shell command i.e. if you have a command button pu the following code in the click event and this will start notepad

shell "c:\windows\notepad.exe", vbNormalFocus

kbot
Mar 7th, 2001, 04:07 PM
Thanks!!