Dear all,
What is teh right way to launch IEXPLORE.EXE with a specified starting page
from a VB.NET code ?
I have tried Shell("IEXPLORE.EXE") but fatal error occurs
I have try Process. Start ("IEXPLORE.EXE") same error occurs
Thanks for your information
Regards
Serge 7 3948
Serge,
You mean this one
\\\
Dim p As New Process
Dim pi As New ProcessStartInfo
pi.FileName =
"http://communities2.microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.dotnet.general
p.Start(pi)
///
I hope this helps?
Cor
"serge calderara" <se************@discussions.microsoft.com> Dear all,
What is teh right way to launch IEXPLORE.EXE with a specified starting page from a VB.NET code ?
I have tried Shell("IEXPLORE.EXE") but fatal error occurs I have try Process. Start ("IEXPLORE.EXE") same error occurs
Thanks for your information Regards
Serge
You can use the following to open the Microsoft site in the default browser.
System.Diagnostics.Process.Start("http://www.microsoft.com")
--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:B8**********************************@microsof t.com... Dear all,
What is teh right way to launch IEXPLORE.EXE with a specified starting page from a VB.NET code ?
I have tried Shell("IEXPLORE.EXE") but fatal error occurs I have try Process. Start ("IEXPLORE.EXE") same error occurs
Thanks for your information Regards
Serge
Something simple like this works too - you were on the right track -
just need to provide the URL and the start page too.
Shell("C:\Program Files\Internet Explorer\IEXPLORE.EXE http://www.google.com")
Solomon Consulting
Charlotte, NC USA
"Cor Ligthert" wrote: Serge,
You mean this one \\\ Dim p As New Process Dim pi As New ProcessStartInfo pi.FileName = "http://communities2.microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.dotnet.general p.Start(pi) /// I hope this helps?
Cor
"serge calderara" <se************@discussions.microsoft.com>
Dear all,
What is teh right way to launch IEXPLORE.EXE with a specified starting page from a VB.NET code ?
I have tried Shell("IEXPLORE.EXE") but fatal error occurs I have try Process. Start ("IEXPLORE.EXE") same error occurs
Thanks for your information Regards
Serge
Ben,
You make me curious, is that code that I showed difficult for you?
Cor
news:3F**********************************@microsof t.com... Something simple like this works too - you were on the right track - just need to provide the URL and the start page too.
Shell("C:\Program Files\Internet Explorer\IEXPLORE.EXE http://www.google.com")
Solomon Consulting Charlotte, NC USA
"Cor Ligthert" wrote:
Serge,
You mean this one \\\ Dim p As New Process Dim pi As New ProcessStartInfo pi.FileName = "http://communities2.microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.dotnet.general p.Start(pi) /// I hope this helps?
Cor
"serge calderara" <se************@discussions.microsoft.com>
> Dear all, > > What is teh right way to launch IEXPLORE.EXE with a specified starting > page > from a VB.NET code ? > > I have tried Shell("IEXPLORE.EXE") but fatal error occurs > I have try Process. Start ("IEXPLORE.EXE") same error occurs > > Thanks for your information > Regards > > Serge
No, not at all.
That's the new elegant way of doing it...
"Cor Ligthert" wrote: Ben,
You make me curious, is that code that I showed difficult for you?
Cor
news:3F**********************************@microsof t.com... Something simple like this works too - you were on the right track - just need to provide the URL and the start page too.
Shell("C:\Program Files\Internet Explorer\IEXPLORE.EXE http://www.google.com")
Solomon Consulting Charlotte, NC USA
"Cor Ligthert" wrote:
Serge,
You mean this one \\\ Dim p As New Process Dim pi As New ProcessStartInfo pi.FileName = "http://communities2.microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.dotnet.general p.Start(pi) /// I hope this helps?
Cor
"serge calderara" <se************@discussions.microsoft.com>
> Dear all, > > What is teh right way to launch IEXPLORE.EXE with a specified starting > page > from a VB.NET code ? > > I have tried Shell("IEXPLORE.EXE") but fatal error occurs > I have try Process. Start ("IEXPLORE.EXE") same error occurs > > Thanks for your information > Regards > > Serge
Thnaks you all for your answers. My mistake was that I have specified only www.blablka
regards
"Ben Solomon" wrote: No, not at all.
That's the new elegant way of doing it... "Cor Ligthert" wrote:
Ben,
You make me curious, is that code that I showed difficult for you?
Cor
news:3F**********************************@microsof t.com... Something simple like this works too - you were on the right track - just need to provide the URL and the start page too.
Shell("C:\Program Files\Internet Explorer\IEXPLORE.EXE http://www.google.com")
Solomon Consulting Charlotte, NC USA
"Cor Ligthert" wrote:
> Serge, > > You mean this one > \\\ > Dim p As New Process > Dim pi As New ProcessStartInfo > pi.FileName = > "http://communities2.microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.dotnet.general > p.Start(pi) > /// > I hope this helps? > > Cor > > "serge calderara" <se************@discussions.microsoft.com> > > > Dear all, > > > > What is teh right way to launch IEXPLORE.EXE with a specified starting > > page > > from a VB.NET code ? > > > > I have tried Shell("IEXPLORE.EXE") but fatal error occurs > > I have try Process. Start ("IEXPLORE.EXE") same error occurs > > > > Thanks for your information > > Regards > > > > Serge > > >
Dear all,
I have try to pass the complete URl but it works with the process.start way,
But still one question .
If I already have an open page, is there a way to tell my process to display
my default site on a new page ?
In a similar way as you click two time on explorer
thnaks for our help
"BenSolomon" wrote: Something simple like this works too - you were on the right track - just need to provide the URL and the start page too.
Shell("C:\Program Files\Internet Explorer\IEXPLORE.EXE http://www.google.com")
Solomon Consulting Charlotte, NC USA
"Cor Ligthert" wrote:
Serge,
You mean this one \\\ Dim p As New Process Dim pi As New ProcessStartInfo pi.FileName = "http://communities2.microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.dotnet.general p.Start(pi) /// I hope this helps?
Cor
"serge calderara" <se************@discussions.microsoft.com>
Dear all,
What is teh right way to launch IEXPLORE.EXE with a specified starting page from a VB.NET code ?
I have tried Shell("IEXPLORE.EXE") but fatal error occurs I have try Process. Start ("IEXPLORE.EXE") same error occurs
Thanks for your information Regards
Serge This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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....
|
by: Muscha |
last post by:
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
|
by: VJ |
last post by:
I have the option "Reuse windows for launching shortcuts" checked in my IE.
Now in my client code on a click event of a link, I do the following,
Dim procWebPages As Process
Dim strWebPageLink...
|
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
|
by: serge calderara |
last post by:
Dear all,
What is teh right way to launch IEXPLORE.EXE with a specified starting page
from a VB.NET code ?
I have tried Shell("IEXPLORE.EXE") but fatal error occurs
I have try Process. Start...
|
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...
|
by: Simon Verona |
last post by:
I've decided to store my help pages on a web site rather than deliver with
my application (trying to reduce the size of the install files).
The web site is sort of all ready to rock and roll.
...
|
by: vol30w60 |
last post by:
Hi folks,
I am having a problem using PHP to launch an application on the server.
All the basics work, but I cannot launch more than 4 instances of the
application. This application functions as...
|
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...
|
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
|
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...
|
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...
|
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,...
|
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,...
|
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...
|
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...
|
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: 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...
| |