How do you launch an application from within a CF application?

  • Thread starter Thread starter Maarten Struys, eMVP
  • Start date Start date
M

Maarten Struys, eMVP

You have to P/Invoke CreateProcess to do so. You can take a look at
www.opennetcf.org/winapi.asp. The WinAPI library contains ready to use code
to P/Invoke CreateProcess. You can specify Pocket IE as filename (e.g.
\windows\iexplore.exe) and the desired URL as commandline
 
I would like to open IE from within my compact framework application. In
VB.Net the snippet below works but is not supported in the compact
framework.

Dim pProcess As New Process
pProcess.Start(strPath)

Cheers
Derek
 
Back
Top