mikeljj
asked on
WinExedc or Create Process
I am trying to spawn another application from within my program. I am currently using MFC framework to program. I know that I should use Create Process or WinExec, but I am unsure of the syntax. I have tried several times, but am unsuccessful. Does anyone know the proper syntax...
suppose the program is anything.exe
Thanks
suppose the program is anything.exe
Thanks
I was doing something similar. I wanted to open an Excel spreadsheep from with-in my app, by using the associations within Win95. See if:
ShellExecute
is what you want. For me, what works is: (actual line from code)
ShellExecute(NULL, NULL, m_spreadsheet_display_name , NULL, NULL, SW_MAXIMIZE);
-Dex Man
ShellExecute
is what you want. For me, what works is: (actual line from code)
ShellExecute(NULL, NULL, m_spreadsheet_display_name
-Dex Man
ASKER
Does the application have to include a direct path??
Or does the file or application have to be in the Windows directory--- since this is the only way I can get it to work
Or does the file or application have to be in the Windows directory--- since this is the only way I can get it to work
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks, I figured it out
ASKER