472,972 Members | 2,271 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,972 software developers and data experts.

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 2762
* "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
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
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
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
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
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
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
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
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
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...
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...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.