472,802 Members | 1,316 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,802 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 19889
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.