How can i call the pocket PC IE and pass it URL?

  • Thread starter Thread starter Terry Cheng
  • Start date Start date
T

Terry Cheng

Dear all,
Hello guys, I am just start writing an PPC application which need to
call PocketIE and pass a URL parameter then the Pocket IE will start up and
visit the passed URL?


Thanks in advance!
 
Yes. The code that I posted, when called, will start the browser on the PPC
and pass it the URL.
 
CreateProcess("iexplore.exe", "http://www.myurl.com", NULL, NULL, FALSE, 0, NULL, NULL, NULL, NULL)

You have to declare API functon CreateProcess befor

[DllImport("CoreDll.DLL", SetLastError=true)
private extern stati
int CreateProcess( String imageName
String cmdLine
IntPtr lpProcessAttributes
IntPtr lpThreadAttributes
Int32 boolInheritHandles
Int32 dwCreationFlags
IntPtr lpEnvironment
IntPtr lpszCurrentDir
byte [] si
ProcessInfo pi );
 
Back
Top