Re: Launch IE with a complex string
- From: "Marius Groenendijk" <Marius Groenendijk (Hotmail)>
- Date: Tue, 23 Jan 2007 10:30:26 +0100
Hi there,
You'd have to convert your complex URL into an escaped URL. This
does the trick:
Dim theUri As System.Uri = New System.Uri( yourVeryComplexString )
And this'll start the default browser.
Diagnostics.Process.Start( theUri.AbsoluteUri() )
HTH,
Marius.
"sreelakshmi" <sreelakshmid@xxxxxxxxx> wrote in message
news:1169538461.815790.228030@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks,
I tried
System.Diagnostics.Process pr = new System.Diagnostics.Process();
pr.StartInfo.FileName = "iexplore";
pr.StartInfo.Arguments =
"C:/SmartClient/WebHelp_WithTOC/index.htm#mergedProjects/ProductA/ProductA_Form1.htm";
pr.Start();
This works. Though i was looking for a neater solution where there is
no need to call 'iexplore' explicitly. Is there no way to display a url
on the default browser?
Thanks,
Chad Z. Hower wrote:
sreelakshmi wrote:
How can i launch this url in a new instance of IE?
You could try making a .url file (short cut) and passing that to IE.
--
Chad Z. Hower
Microsoft Regional Director
"Programming is an art form that fights back"
http://www.KudzuWorld.com/
Need a professional technical speaker at your event?
http://www.woo-hoo.net
.
- References:
- Launch IE with a complex string
- From: sreelakshmi
- Re: Launch IE with a complex string
- From: Chad Z. Hower
- Re: Launch IE with a complex string
- From: sreelakshmi
- Launch IE with a complex string
- Prev by Date: Re: Launch IE with a complex string
- Next by Date: Re: Why can't the .NET Datagrid show datetime columns with time ?
- Previous by thread: Re: Launch IE with a complex string
- Next by thread: Data grid hierarchal navigation
- Index(es):
Relevant Pages
|