AFAIR the System.Diagnostics.Process class is not supported in the compact
framework, and that would be why the last method you tried is not working.
I did find this on Google groups though
http://groups.google.com/groups?q=La...ngxa08&rnum=10
Basically it walks through using the CreateProcess API call to run a process
withina C# app on a PocketPC.
Hope that helps,
--
--------------------------------------------------------
Peter Wright (
www.petewright.org)
Author of ADO.NET Novice To Pro
From Apress.
www.apress.com (and 10
other doorstops from Wrox)
"JohnG" <> wrote in message
news:18DE7ABD-57E4-478D-AC65-...
> Hi,
>
> I am using an iPaq running Windows Mobile 2003 to contact a laptop (acting
as a web server). I am writing an app in VS .NET 2003 (VB.NET).
>
> I wish to open a url without using a built-in hyperlink data-type as I
need to crunch some code to determine how to populate the page (on load) I
wish to open.
>
> I have tried this;
>
> page.Controls.Add(New LiteralControl("<script
> language=javascript>window.open
>
(""http://www.microsoft.com"",""PageName"",""width=424,heigh t=768,top=0,left
>
=525,toolbar=yes,location=yes,directories=yes,stat us=no,menubar=yes,scrollba
> rs=yes,resizable=yes"")</script>"))
>
> which works locally on the laptop, but not on the iPAQ.
>
> I have tried;
>
> system.diagnostics.process.start("IEXPLORE.EXE", "http://myurl")
>
> which compiles, but does nothing.
>
> Am I missing something?
>
> Most grateful for any help, thanks,
>
> John
>
>