Subject: How I can Launch Msword from VC++ DLL
Posted By: hamada97 Post Date: 10/11/2003 5:31:22 PM
I'd like to launch microsoft word from my visual C++ 6.00 DLL
Kindly tell me what is the favorite and simple way to do it
Regards

Reply By: rams.rams Reply Date: 11/18/2003 2:17:50 PM
Use

::ShellExecute(NULL,
     _T("Open"),
     _T("C:\\MyFiles\\test.doc"),
     NULL,
     NULL,
     SW_SHOWNORMAL);

Hope this helps!
Ramu Pulipati


Go to topic 6647

Return to index page 1002
Return to index page 1001
Return to index page 1000
Return to index page 999
Return to index page 998
Return to index page 997
Return to index page 996
Return to index page 995
Return to index page 994
Return to index page 993