|
-
July 1st, 1999, 09:39 AM
#1
running VB script from a c/C++ program
Please write me how to run VB Script from a C++ or C program.
-
July 1st, 1999, 10:05 PM
#2
Re: running VB script from a c/C++ program
Something like:
HINSTANCE hi;
CString Msg;
hi = ShellExecute(m_hWnd, "open", lpszCmdLine, NULL, NULL, SW_SHOWNORMAL);
if ((UINT) hi < 32)
Msg.Format("ShellExecute failed; error code = %X", hi);
else
Msg.Format("Instance handle for %s is %X", lpszCmdLine, hi);
MessageBox(Msg);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|