473,396 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Launching IE with specific URL.....

I am using VB.Net. when user clicks I would like to open URL. How to do that
? Thanks
Rudy
Nov 20 '05 #1
9 1397
"Rudy Mark" <Ru*********@yahoo.com> schrieb
I am using VB.Net. when user clicks I would like to open URL. How to
do that ? Thanks
Rudy


System.Diagnostics.Process.Start(http://my.domain.tld)

This opens the standard http handling application, usually the IE.
--
Armin

Nov 20 '05 #2
Thanks,
However when I call this statement one after the other it launches in the
same instance of the browser. Is there anyway I can launch multiple sites
with single click. Thanks
"Armin Zingler" <az*******@freenet.de> wrote in message
news:On**************@TK2MSFTNGP09.phx.gbl...
"Rudy Mark" <Ru*********@yahoo.com> schrieb
I am using VB.Net. when user clicks I would like to open URL. How to
do that ? Thanks
Rudy


System.Diagnostics.Process.Start(http://my.domain.tld)

This opens the standard http handling application, usually the IE.
--
Armin

Nov 20 '05 #3
* "Rudy Mark" <Ru*********@yahoo.com> scripsit:
However when I call this statement one after the other it launches in the
same instance of the browser. Is there anyway I can launch multiple sites
with single click.


You will have to turn off the "reuse browser window" option in MSIE.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
thnak,
Where exactly to set that, I am using IE6.0

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bn************@ID-208219.news.uni-berlin.de...
* "Rudy Mark" <Ru*********@yahoo.com> scripsit:
However when I call this statement one after the other it launches in the same instance of the browser. Is there anyway I can launch multiple sites with single click.


You will have to turn off the "reuse browser window" option in MSIE.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Nov 20 '05 #5
"Rudy Mark" <Ru*********@yahoo.com> schrieb
Thanks,
However when I call this statement one after the other it launches in
the same instance of the browser. Is there anyway I can launch
multiple sites with single click. Thanks


I don't know how to do this.
--
Armin

Nov 20 '05 #6
Untested......Just Guessing and probably am wrong.

You might try using the AxWebBrowser control and saying:

Public newwindow as String
Public endwindowtag as String

newwindow = "<a target='_blank'"
endwindowtag = "</a>"

AxWebBrowser2.Navigate("www.yahoo.com")
AxWebBroswer2.Navigate(newwindow & "www.excite.com" & endwindowtag)

This is the HTML tag that asks a new window to open when clicking a link.

"Rudy Mark" <Ru*********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I am using VB.Net. when user clicks I would like to open URL. How to do that ? Thanks
Rudy

Nov 20 '05 #7
Try this rudy:

System.Diagnostics.Process.Start("javascript:(wind ow.open('http://www.google
..com/'))")

it will open the new window but unforutnatley also opens another window with
that. Maybe you can find a way to close the other window programmatically.

"Rudy Mark" <Ru*********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I am using VB.Net. when user clicks I would like to open URL. How to do that ? Thanks
Rudy

Nov 20 '05 #8
Hi Scorpion,

You've got a great idea there - using javascript. :-)

This will do it with just the one copy of IE each.
Process.Start ("javascript:(window.location =
'http://www.google.com/')")
Process.Start ("javascript:(window.location =
'http://www.yahoo.com/')")

Regards,
Fergus
Nov 20 '05 #9
That great. My problem solved.
Thanks to all of you.

"Fergus Cooney" <fi*****@post.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi Scorpion,

You've got a great idea there - using javascript. :-)

This will do it with just the one copy of IE each.
Process.Start ("javascript:(window.location =
'http://www.google.com/')")
Process.Start ("javascript:(window.location =
'http://www.yahoo.com/')")

Regards,
Fergus

Nov 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Hegemony Cricket | last post by:
I've found several good examples out there on how to launch a web browser from a Java application, using the Runtime exec() command. However, what I'd like to do is configure the browser that's...
2
by: Terry | last post by:
When launching our application with Internet Explorer already opened, but not pointing to our web server, the session variables disappear. If you open I.E. after launching our app, it works fine....
6
by: JerryP | last post by:
Hello, is there a way to launch the property dialogue for a directory from my c# app ? I would also like to launch the User Account Properties from Active Directory Users and Computers, and the...
0
by: Scott Zabolotzky | last post by:
I'm using the following code to launch SIGNCODE.EXE to sign a CAB provisioning file from an ASP.NET app. When I run the code the exit code comes back as -1. I have not been able to determine what...
24
by: Alan M Dunsmuir | last post by:
What is the command (in Windows Forms VB.NET) which will cause the subject computer's default browser to launch, and display a specified Web page? -- Alan M Dunsmuir
7
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the...
1
by: John A. Bailo | last post by:
Excuse the novice aspects of this question, but: What techniques are available to me for launching one c# application ( console .exe) from another? For example, I know there is the Process and...
0
by: microb0x | last post by:
Is there any difference in the way an Access .mdb file is launched from directly double-clicking the file through windows explorer versus using code within another Access file to launch the...
4
by: MLH | last post by:
We have window for login/password and then error "Process is stopped by database core Microsoft Jet, another user changing data at the same time".
2
by: Chip Pearson | last post by:
I'm sure this is a simple question, but the answer eludes me. Using VB.NET in VS2008 running under Vista, how to I launch Internet Explorer (or the user's default browser) and have it open to a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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...
0
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,...

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.