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


mgtakahashi
September 27th, 1999, 10:27 AM
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.

santulan
September 27th, 1999, 11:03 AM
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