Do I have to install any component/reference in order for me to use the Exec function? I get an error message # 35 (Sub, Function, or Property not defined. My sintax is Exec("c:\??????????"), which is the same way the VB help explain.
Printable View
Do I have to install any component/reference in order for me to use the Exec function? I get an error message # 35 (Sub, Function, or Property not defined. My sintax is Exec("c:\??????????"), which is the same way the VB help explain.
Hi,
I am sorry, You are using a WRONG syntax. Please use this:
X = Shell("C:\Windows\Calc.exe", vbMaximizedFocus)
This is just an example. It returns a double.
I hope this solves your problem.
Santulan