rehanrana 0 Newbie Poster

I built application in VB6, my application appear 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.


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)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.