473,657 Members | 2,545 Online
Bytes | Software Development & Data Engineering Community
+ 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.Diagnost ics.Process.Sta rt("C:\Program Files\Internet
Explorer\iexplo re.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 1468
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****@discuss ions.microsoft. com> wrote in message
news:3D******** *************** ***********@mic rosoft.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.Diagnost ics.Process.Sta rt("C:\Program Files\Internet
Explorer\iexplo re.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****@discuss ions.microsoft. com> wrote in message
news:3D******** *************** ***********@mic rosoft.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.Diagnost ics.Process.Sta rt("C:\Program Files\Internet
Explorer\iexplo re.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****@discuss ions.microsoft. com> wrote in message
news:3D******** *************** ***********@mic rosoft.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.Diagnost ics.Process.Sta rt("C:\Program Files\Internet
Explorer\iexplo re.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****@discuss ions.microsoft. com> wrote in message
news:D8******** *************** ***********@mic rosoft.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****@discuss ions.microsoft. com> wrote in message
news:3D******** *************** ***********@mic rosoft.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.Diagnost ics.Process.Sta rt("C:\Program Files\Internet
Explorer\iexplo re.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
4019
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 same way a menu does. To do this my control needs to get notified when the user tried to click off of it. The Leave and LostFocus events of the UserControl work most of the time but not always. For example, if they click on a part of the form...
9
2816
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 facing. Please please help me to solve this as soon as possible. So here we go ... I am not able to take the screen shot of the windows form based "Smart
4
3146
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 further away, completely leaving the selector box area. Any ideas? VS 2003 and VB.Net This is a simple application at the moment but the form is inherited from a
30
4567
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 corresponding field in the lookup table. In my data table we store the ID in what I will call the 'key' field. == Description of the desired operation:
5
1994
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: *************************************************************************************************************** { ........................... PrintTimeSpanProblem(); device = new Device(0, DeviceType.Hardware, this, CreateFlags.SoftwareVertexProcessing, presentParams); PrintTimeSpanProblem();
0
8392
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8305
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8825
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6163
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1953
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1611
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.