By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,815 Members | 1,152 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,815 IT Pros & Developers. It's quick & easy.

Problem with Windows XP SP2 and VB.Net code

P: n/a
I am using the following code to open an instance of Internet Explorer with a
specific URL.

Dim Argument_String as String = "www.yahoo.com"
System.Diagnostics.Process.Start("C:\Program Files\Internet
Explorer\iexplore.exe", Argument_String)

If I have the new XP SP2 IE pop-up blocker enabled the browser does not come
up at all, if I disable it it "pops-up" just fine. If I put, for example,
www.yahoo.com in the list of sites to not block pop-ups for it has no effect
and is still blocked.

Any help would be greatly appreciated...

TIA...
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Are you sure? I didn't have any problem opening up an IE window with
www.yahoo.com as the argument with the IE Pop-up blocker set to the highest
level of blocking (block all; Ctrl to override) and no websites in the
'allowed sites' list.

Imran.

"Blaxer" <Bl****@discussions.microsoft.com> wrote in message
news:3D**********************************@microsof t.com...
I am using the following code to open an instance of Internet Explorer with
a
specific URL.

Dim Argument_String as String = "www.yahoo.com"
System.Diagnostics.Process.Start("C:\Program Files\Internet
Explorer\iexplore.exe", Argument_String)

If I have the new XP SP2 IE pop-up blocker enabled the browser does not
come
up at all, if I disable it it "pops-up" just fine. If I put, for example,
www.yahoo.com in the list of sites to not block pop-ups for it has no
effect
and is still blocked.

Any help would be greatly appreciated...

TIA...

Nov 21 '05 #2

P: n/a
Hi,

Try this instead.

Process.Start(www.yahoo.com)

Ken

-----------------------------------

"Blaxer" <Bl****@discussions.microsoft.com> wrote in message
news:3D**********************************@microsof t.com...
I am using the following code to open an instance of Internet Explorer with
a
specific URL.

Dim Argument_String as String = "www.yahoo.com"
System.Diagnostics.Process.Start("C:\Program Files\Internet
Explorer\iexplore.exe", Argument_String)

If I have the new XP SP2 IE pop-up blocker enabled the browser does not come
up at all, if I disable it it "pops-up" just fine. If I put, for example,
www.yahoo.com in the list of sites to not block pop-ups for it has no effect
and is still blocked.

Any help would be greatly appreciated...

TIA...
Nov 21 '05 #3

P: n/a
That worked perfectly, thank you so much.
Blax...

"Ken Tucker [MVP]" wrote:
Hi,

Try this instead.

Process.Start(www.yahoo.com)

Ken

-----------------------------------

"Blaxer" <Bl****@discussions.microsoft.com> wrote in message
news:3D**********************************@microsof t.com...
I am using the following code to open an instance of Internet Explorer with
a
specific URL.

Dim Argument_String as String = "www.yahoo.com"
System.Diagnostics.Process.Start("C:\Program Files\Internet
Explorer\iexplore.exe", Argument_String)

If I have the new XP SP2 IE pop-up blocker enabled the browser does not come
up at all, if I disable it it "pops-up" just fine. If I put, for example,
www.yahoo.com in the list of sites to not block pop-ups for it has no effect
and is still blocked.

Any help would be greatly appreciated...

TIA...

Nov 21 '05 #4

P: n/a

You could uncheck the 'Reuse Windows for Launching Shortcuts' on the
Advanced tab in Internet Explorer Options.


"Blaxer" <Bl****@discussions.microsoft.com> wrote in message
news:D8**********************************@microsof t.com...
Ouch, I may have spoke too soon here. It seems that although this code works it will "replace the url" of any instance of IE that is already running,
which for us is bad! Any ideas?

Thank you!

"Ken Tucker [MVP]" wrote:
Hi,

Try this instead.

Process.Start(www.yahoo.com)

Ken

-----------------------------------

"Blaxer" <Bl****@discussions.microsoft.com> wrote in message
news:3D**********************************@microsof t.com...
I am using the following code to open an instance of Internet Explorer with a
specific URL.

Dim Argument_String as String = "www.yahoo.com"
System.Diagnostics.Process.Start("C:\Program Files\Internet
Explorer\iexplore.exe", Argument_String)

If I have the new XP SP2 IE pop-up blocker enabled the browser does not come up at all, if I disable it it "pops-up" just fine. If I put, for example, www.yahoo.com in the list of sites to not block pop-ups for it has no effect and is still blocked.

Any help would be greatly appreciated...

TIA...

Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.