Reuse windows for launching shortcuts - 2 Questions

  • Thread starter Thread starter VJ
  • Start date Start date
V

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
 
* "VJ said:
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"?
 
Yes it does not work.. That answers my first question.. Now how do I do the
second one??

Thanks
VJ
 
Back
Top