473,503 Members | 5,284 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reuse windows for launching shortcuts - 2 Questions

VJ
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 As String

'Build the web link here
' End Build web link here..

procWebPages = New System.Diagnostics.Process
' Start Internet Explorer, passing in a Web page.
procWebPages.Start("IExplore.exe", strWebPageLink)

Question1: Everytime I click it opens the link in a new window, it does not
reuse any existing window. How do I make this happen?

Question2: Also how can I make it open in a window that my application has
launched? I don't want to open in any existing IE window, only in IE window
that my application has launched. The IE window my application launched will
have our company name in the Title at the starting.

Thanks
VJ
Nov 20 '05 #1
2 2796
* "VJ" <vi********@yahoo.com> scripsit:
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 As String

'Build the web link here
' End Build web link here..

procWebPages = New System.Diagnostics.Process
' Start Internet Explorer, passing in a Web page.
procWebPages.Start("IExplore.exe", strWebPageLink)

Question1: Everytime I click it opens the link in a new window, it does not
reuse any existing window. How do I make this happen?


Does it work if you just call 'Process.Start' on the HTML file without
specifying "IExplorer.exe"?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
VJ
Yes it does not work.. That answers my first question.. Now how do I do the
second one??

Thanks
VJ

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:c6************@ID-208219.news.uni-berlin.de...
* "VJ" <vi********@yahoo.com> scripsit:
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 As String

'Build the web link here
' End Build web link here..

procWebPages = New System.Diagnostics.Process
' Start Internet Explorer, passing in a Web page.
procWebPages.Start("IExplore.exe", strWebPageLink)

Question1: Everytime I click it opens the link in a new window, it does not reuse any existing window. How do I make this happen?


Does it work if you just call 'Process.Start' on the HTML file without
specifying "IExplorer.exe"?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #3

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

Similar topics

2
3293
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....
4
1266
by: AJS | last post by:
I open a small window with no toolbars and position it in the corner of the screen. My problem is that when this window was the last window opened, Windows will use it to open any link that I...
0
1108
by: Nick | last post by:
I would like to change the function of the Print Screen key *in windows*. Is there a registry value that I can change? Instead of starting my program with windows and monitoring keyboard events,...
2
1454
by: Wayne | last post by:
I have a datagrid on my windows form, it needs to be read only and when a user selects a row, I want the whole row to be selected. How would I go about doing this? -- Thanks Wayne Sepega...
4
1454
by: Blaxer | last post by:
I am using the following code to open an instance of Internet Explorer with a specific URL. Dim Argument_String as String = "www.yahoo.com" System.Diagnostics.Process.Start("C:\Program...
24
2060
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
0
1029
by: ThatsIT.com.au | last post by:
I have been using Visual Studio 2005 for making web applications for some time, but or windows applications I have been using Visuals studio 6. just lately I decided to use 2005 for my windows...
3
2018
by: Tuanisviet | last post by:
Hey guys. Well, I have several questions about using Windows 2003 that I need answered to better understand the system. After hearing my professor talk about it & not doing a good job at all at...
2
1064
by: John | last post by:
Hi 1. Is it possible to force vertical scroll bar to display all the time in a grdiview even if there are no records currently in dataview? 2. is it possible to group buttons on a toolbar such...
0
7194
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,...
1
6976
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
7449
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
5566
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,...
1
4993
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...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
729
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
372
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...

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.