473,568 Members | 2,850 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.Diagnost ics.Process
' Start Internet Explorer, passing in a Web page.
procWebPages.St art("IExplore.e xe", 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 2806
* "VJ" <vi********@yah oo.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.Diagnost ics.Process
' Start Internet Explorer, passing in a Web page.
procWebPages.St art("IExplore.e xe", 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********@yah oo.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.Diagnost ics.Process
' Start Internet Explorer, passing in a Web page.
procWebPages.St art("IExplore.e xe", 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
3297
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. It also works fine if you have the option set to 'Reuse Windows for Lauching Shortcuts' checked in the I.E. properties and launch our app from a...
4
1274
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 click on. Here is how I test this, 1. I click a link on my html page to open my little window. 2. I click on a link in an email message. 3. The...
0
1111
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, I would like windows to start my program on key press. Is that possible? If not, how would I go about creating a small service that monitors...
2
1459
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 Jacksonville, Fl
4
1463
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 Files\Internet Explorer\iexplore.exe", Argument_String) If I have the new XP SP2 IE pop-up blocker enabled the browser does not come up at all, if I...
24
2069
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
1039
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 applications also. I created a windows application and set it to publish to a web site so it can be installed over the internet. I also made use of...
3
2022
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 explain ANY of the fundamentals of Win 2k3, I need answers. First of all, can anyone explain & compare "Global Groups", "Univeral Groups", "...
2
1068
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 that if one is pressed (selected), any other pressed button gets un-pressed (unselected). Thanks
0
7604
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7916
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7660
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7962
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5217
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
932
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.