How can I open an html file on PocketPC on the Pocket Internet Explorer? How
can I call the Pocket Internet Explorer exe? In general, how can I run
external applications from c++/MFC code?

Re: Open html in Pocket IE from C++ line by buzz

buzz
Thu Feb 02 17:20:45 CST 2006

SHELLEXECUTEINFO si;

// Set up the shell execute structure to open the education file.
si.cbSize = sizeof(SHELLEXECUTEINFO);
si.fMask = SEE_MASK_NOCLOSEPROCESS;
si.hwnd = NULL;
si.lpVerb = _T("open");
si.lpFile = _T("file://\\Program%20Files\\<your folder>\\<your file>.htm");
si.lpParameters = _T("\0\0");
si.lpDirectory = NULL;

// Execute using the structure that we just initialized.
ShellExecuteEx(&si);

zikje wrote:
> How can I open an html file on PocketPC on the Pocket Internet Explorer? How
> can I call the Pocket Internet Explorer exe? In general, how can I run
> external applications from c++/MFC code?