‎12-22-2002 04:06 PM
‎12-23-2002 10:03 AM
‎12-23-2002 07:06 PM
‎12-25-2002 03:36 AM
‎12-27-2002 04:36 AM
‎08-24-2004 11:44 AM
‎08-24-2004 06:36 PM
‎08-16-2006 11:03 AM
‎08-18-2006 07:16 AM
Hi teky,
Like you mentioned, to fix error 2 you saw you need to place a cmd /c with the System Exec.VI The error normally occurs when trying to run a command prompt window specific command such as dir or set. Using the System Exec VI is not the same as typing a command into a command prompt window; instead it is like typing a command into the Run window.
To run command prompt commands from the System Exec VI, execute the command prompt window first with the following command:cmd /c
For example, to run the DOS command dir, use the following string as your command line input into System Exec.vi:cmd /C dir C:
So the real issue is how your program does not do what it is supposed to do. You might post a little more information about what your trying to do and what the VB program is supposed to do.
Regards,
Steven B.
‎12-06-2006 09:41 AM