473,403 Members | 2,183 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,403 software developers and data experts.

VB.Net Open Internet Explorer

I am currently migrating over from VB6 and I can't see to find a way to
launch a webpage in internet explorer from a hyperlink on a form.

There must be an easy way to accomplish this? I tried:

System.Diagnostics.Process.Start("Explore.exe", "http//webpath")
System.Diagnostics.Process.Start("http//webpath")
Shell("InternetExplorer.application")

all attempts failed. Any help would be greatly appreciated thanks.
Jul 21 '05 #1
3 19948
Hi,

Use Process.Start("IExplore.exe", "http//localhost");

--
Regards,
Peter Jausovec
(http://blog.jausovec.net)
"Schlauberger" <Sc**********@discussions.microsoft.com> je napisal v
sporočilo news:1B**********************************@microsof t.com ...
I am currently migrating over from VB6 and I can't see to find a way to
launch a webpage in internet explorer from a hyperlink on a form.

There must be an easy way to accomplish this? I tried:

System.Diagnostics.Process.Start("Explore.exe", "http//webpath")
System.Diagnostics.Process.Start("http//webpath")
Shell("InternetExplorer.application")

all attempts failed. Any help would be greatly appreciated thanks.

Jul 21 '05 #2
Worked like a charm many thanks!

"Peter Jausovec" wrote:
Hi,

Use Process.Start("IExplore.exe", "http//localhost");

--
Regards,
Peter Jausovec
(http://blog.jausovec.net)
"Schlauberger" <Sc**********@discussions.microsoft.com> je napisal v
sporoèilo news:1B**********************************@microsof t.com ...
I am currently migrating over from VB6 and I can't see to find a way to
launch a webpage in internet explorer from a hyperlink on a form.

There must be an easy way to accomplish this? I tried:

System.Diagnostics.Process.Start("Explore.exe", "http//webpath")
System.Diagnostics.Process.Start("http//webpath")
Shell("InternetExplorer.application")

all attempts failed. Any help would be greatly appreciated thanks.


Jul 21 '05 #3
This will open the link in a user's default browser:

Help.ShowHelp(this, url);

HTH,
Alexander Shirshov

"Schlauberger" <Sc**********@discussions.microsoft.com> wrote in message
news:1B**********************************@microsof t.com...
I am currently migrating over from VB6 and I can't see to find a way to
launch a webpage in internet explorer from a hyperlink on a form.

There must be an easy way to accomplish this? I tried:

System.Diagnostics.Process.Start("Explore.exe", "http//webpath")
System.Diagnostics.Process.Start("http//webpath")
Shell("InternetExplorer.application")

all attempts failed. Any help would be greatly appreciated thanks.

Jul 21 '05 #4

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

Similar topics

1
by: Joris VI | last post by:
I want to open internet explorer with a vb.net application Can anyone tells me what I need to d thanks
0
by: Anand Ganesh | last post by:
Hi All, I have an .html file which I have to Launch from my C# application. I want to open Internet Explorer and show that .html file in it. Can anyone please suggest how to do this? Thanks...
3
by: Anand Ganesh | last post by:
Hi All, I have an .html file which I have to Launch from my C# application. I want to open Internet Explorer and show that .html file in it. Can anyone please suggest how to do this? Thanks...
7
by: Stewart Saathoff | last post by:
Hello, Does anyone know how to open an Internet Explorer URL with a specified Path when someone clicks a URL?
3
by: Schlauberger | last post by:
I am currently migrating over from VB6 and I can't see to find a way to launch a webpage in internet explorer from a hyperlink on a form. There must be an easy way to accomplish this? I tried: ...
6
zybernau
by: zybernau | last post by:
hi, all in javascript i need to close all the child windows that i have opened through a parent window scenario: * here i will be having as many as child window opened and name given to...
1
by: abhinav2104 | last post by:
I am a novice user and would like to know if is it possible to set the "Address" field of the Internet Explorer through C#(only C#, no other language). I want to open Internet Explorer on the press...
2
by: gaurav92K | last post by:
sir, please tell me the command through which we open internet explorer.
2
by: swethak | last post by:
Hi, I am getting the problem the problem with google map in Internet Explorer. This map worked fine in mozilla . When i opened the same map in Internet Explorer i am getting the error...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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
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...

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.