473,462 Members | 1,070 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem with Windows XP SP2 and VB.Net code

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
4 1451
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
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
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

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rhy Mednick | last post by:
I'm creating a custom control (inherited from UserControl) that is displayed by other controls on the form. I would like for the control to disappear when the user clicks outside my control the...
9
by: Rajat Tandon | last post by:
Hello there, I am relatively new to the newsgroups and C#. I have never been disappointed with the groups and always got the prompt replies to my queries.This is yet another strange issue, I am...
4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
30
by: dbuchanan | last post by:
ComboBox databindng Problem == How the ComboBox is setup and used: My comboBox is populated by a lookup table. The ValueMember is the lookup table's Id and the DisplayMember is the text from a...
5
by: Vibhesh | last post by:
I am facing problem with TimeSpan structure when DirectX is used. Following is the sample code that causes the problem: ...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.