linklabel usage aftermath

jimmajsterski

Well-known member
Joined
Oct 29, 2004
Messages
53
Location
Houston, TX, USA
Programming Experience
10+
Hopefully I am defining this situation correctly...
My vb2003 windows form contains a child form.
The child form contains a linklabel.
The linklabel.clicked sub calls sub visitlink, which does a
System.Diagnostics.Process.Start("http://www.xxx.com/xxx/").
This works fine. My application is minimized; the browser, I think, gets focus, then xxx gets focus.
The web page is viewed.
When the website xxx page is closed, focus returns to the browser,
and my windows application remains minimized.
Is there a way to restore my windows application to previous size
and regain focus without having to click on it on the task bar?
 
Why do you minimize your app? If you don't, when user closes browser the previous app (yours) will become the active one again.
 
After being more watchful, I admit I am mistaken; nothing is minimized. The tasks I said were minimized were just not on top/active.
So my question should have been - how to exit the web site and have my app on top/active instead of the browser?
 
You can't do that, user chooses what to do in browser. If you want control over this you embed the Webbrowser control in your app.
 
Back
Top