Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Open a URL in Mobile Web Browser

Reply
Thread Tools

Re: Open a URL in Mobile Web Browser

 
 
Pete Wright
Guest
Posts: n/a
 
      05-24-2004
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
>
>



 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sm9obkc=?=
Guest
Posts: n/a
 
      05-24-2004
Pete,

Thanks for your suggestion, but it's all gobbldygook to me

I only really understand VB

John
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iPhone4,iPhone3,Ipad,Apple Mobile,Blackberry Mobile,HTC Mobile,LGMobile,Motorola Mobile,Nokia Mobile,Samsung Mobile chen selina C++ 0 07-13-2010 08:53 AM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C++ 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C Programming 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com Java 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C Programming 0 12-09-2007 09:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57