How to Launch IE to a specific URL?

  • Thread starter Thread starter J. Giudice
  • Start date Start date
J

J. Giudice

I have been looking over the newsgroup and some of the sites (Code Project)
and OpenNET CF for help but am stuck.

I am creating a VB.NET based PocketPC application. We have a known URL from
the application and now want to launch IE. With Windows .NET it has been
very straight forward to do this. However, the approach used for Windows
..NET is not supported in .NET CF.

So, are there any examples (VB or C#) that I can learn/copy from? What do
you recommend?

John
 
Use CreateProcess, which is wrapped in OpenNETCF.Process for you. Pass the
URL on the command line to the IE program, whatever that's called on your
device.

Paul T.
 
OK - Thanks and Where is the best place to get the right working version of
OpenNETCF? I will check out the site, but not sure where to go to down load
the right version to use. The OpenNETCF site has a lot of excellent
resources on it. I would welcome a guide for the "New Visitor" to find the
right resources for getting started.

I hope I do not have to start with the sources files and do all my onw
comiles of the libraries...

John
 
Well, you can use the whole thing. There's information on downloading the
1.3 SDF install on the main page, as I recall. You can also just get a few
of the source files, if you want to do that, via the Vault access which I
think is also documented on the main page. In this case, if your
application is done, except for this one thing, you could just get the
Process class and add that to your project.

There are many things that would be nice, but a finite number of workers who
are mostly unpaid.

Paul T.
 
Arun - Thanks for the point to your sample. I will download it and take a
look right away. Also, my complements on a nicely designed and implement web
site.

John
 
OK - I have ported your code to VB.NET and got it work in my application.
Thanks! That was a real help.
 
Back
Top