473,586 Members | 2,863 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Launching IE from my windows form

Hello,

How do I launch an IE instance with the URL as the parameter from my windows
form? I have the axWebBrowser control, should I use that one?

Thanks,

/m
Nov 15 '05 #1
3 8493
On Thu, 30 Oct 2003 18:39:31 +1100, Muscha <mu****@no.spam .net> wrote:
Hello,

How do I launch an IE instance with the URL as the parameter from my
windows
form? I have the axWebBrowser control, should I use that one?

Thanks,

/m


axWebBrowser control is for displayig web pages within your windows form..
To launch internet explorer you simply write

System.Diagnost ics.Process.Sta rt(url);

This will launch the default web browser opening the specified url.
You can specify internet explorer with Start("iexplore .exe", url), but you
are not guaranteed that Windows will be able to open iexplore.exe without
knowing the full path, which varies between systems.

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #2
Hi

Try this

System.Diagnost ics.Process.Sta rt("http://....";)

HTH
Ravikanth[MVP]

-----Original Message-----
Hello,

How do I launch an IE instance with the URL as the parameter from my windowsform? I have the axWebBrowser control, should I use that one?
Thanks,

/m
.

Nov 15 '05 #3
Hello,

How do I launch an IE instance with the URL as the parameter from my
windows
form? I have the axWebBrowser control, should I use that one?

Thanks,

/m

axWebBrowser control is for displayig web pages within your windows form.
To launch internet explorer you simply write System.Diagnost ics.Process.Sta rt(url);


That works thanks, but it seems that it is using the current existing
browser. How do I tell it to always execute a new browser?

thanks,

/m
Nov 15 '05 #4

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

Similar topics

2
1636
by: Tim Stevens | last post by:
Hello, This is the first time I have had to resort to posting on here, as Ive always been able to find a solution to my problems in the past by browsing postings by others. So, to start with I thank you all for so much help in the past ... To my current problem... Ive a fairly sizable application, front end local and back end networked...
2
1988
by: Rustam Asgarov | last post by:
Hi. There was a thread about launching ie from windows form. people suggested using System.Diagnostics.Process.Start(); But how can i do the same from compact framework. I have to lauch IE on PDA (Pocket PC). Thanks...
6
1548
by: sebastien | last post by:
Hi I have an asp.net application that use Session variables. What I want to do is to launch an second instance of this application by a link inside the first application. The problem is: when I launch the second application, this second application override the session variables values of the first application. I can run 2 instances of my...
24
2071
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
1
1727
by: Water Cooler v2 | last post by:
I have a Windows Service I am writing in C# and a set of, let us say three, other executables written in C# (mostly console applications). I want that the Windows Service must do so every few seconds: Check to see if each of the other executables are running or not. If they are not running, it should load them. For this purpose, I am...
0
1779
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 same file? Here is my situation: I have an application that when launched does a check whether or not
0
3545
by: Hasim AH | last post by:
Hi .. Just getting interested to learn C# and needs help. I want to write C# application so that the program will execute and draw graphics when the user select the drawing menu from the main menu, SigDraw. Here is the codes:- using System; using System.Drawing; using System.Collections;
8
2272
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
I would like to find out how I can launch an independent Python program from existing one in a cross-platform way. The result I am after is that a new terminal window should open (for io independent of the original script). The following seems to work correctly under Ubuntu and Windows ... but I haven't been able to find a way to make it...
5
1812
by: Oriane | last post by:
Hi there, I would like to run a javascript file directly from the desktop, like a VBScript file. So my post is perhaps "out of topic" in which case I apologize. The goal is to run this sort of script, which in turn will open an HTML page inside a Windows window: "window.open (http://www..., arg...)"
0
7911
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...
0
7839
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...
0
8200
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. ...
0
8338
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...
1
7954
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...
0
6610
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1448
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1179
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...

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.