Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 7th, 2008, 01:55 AM
Registered User
 
Join Date: Dec 2007
Location: Karachi, , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Browser close when screen saver close

I built application in VB6, my application show in system tray, when I double click on icon of my application, it run screen saver, my screen saver shows images and news. Screen saver functionality is that when user press F2 key, my screen saver open news detail in browser.

But the problem is that when screen saver stop (close), browser also close with the screen saver.

Reply With Quote
  #2 (permalink)  
Old April 7th, 2008, 03:09 AM
Registered User
 
Join Date: Dec 2007
Location: Karachi, , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

following line i use to start screen saver
lRet = SendMessage(frmSysTrayIcon.hwnd, WM_SYSCOMMAND, SC_SCREENSAVE, 0)

following line i use to open browser from screensaver
Call ShellExecute(GpxScrS.hwnd, "open", URL, "", "", 0)

I think browser is a child of screen saver, so how I remove this relationship.

I also entry in registry called "NoAutoReturnToWelcome" to 1

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Close Browser Window MoisesZaragoza Javascript How-To 2 February 6th, 2007 08:02 PM
How to close browser window? rupen Javascript How-To 14 July 31st, 2006 10:52 AM
How to close a browser session ? elisabeth Pro JSP 2 April 11th, 2004 11:30 PM



All times are GMT -4. The time now is 09:20 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.