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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top