468,241 Members | 1,504 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,241 developers. It's quick & easy.

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 2541
* "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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by AJS | last post: by
reply views Thread by Nick | last post: by
2 posts views Thread by Wayne | last post: by
24 posts views Thread by Alan M Dunsmuir | last post: by
reply views Thread by ThatsIT.com.au | last post: by
2 posts views Thread by John | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.