[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

Screen Saver

I've created my Screen Saver in VB6 named "me.scr"
I dont want to install "me.src" by Window.
How do I install it by VB Application?
0
hpgdesign
Asked:
hpgdesign
1 Solution
 
mcriderCommented:
Try looking at these microsoft KB Articles...

How to Start a Visual Basic Screen Saver Using SendMessage API
http://support.microsoft.com/support/kb/articles/Q141/0/24.asp 
 
HOWTO: Create a Screen Saver in Visual Basic
http://support.microsoft.com/support/kb/articles/Q146/9/07.asp 
 


Cheers!
0
 
Erick37Commented:
Create a setup program for your application by using the Package and Deployment Wizard.
0
 
hpgdesignAuthor Commented:
Re:mcrider. Thanks to you. But I want to know how to install "me.scr" in my PC without using Display Properties dialog box of Window (Customise my Desktop menu).
Im not looking for how to create Screen Saver App in VB. Just looking for some source code that automatically install "me.scr" into the system.(That code allows me setting the waiting time for active "me.scr")

Re:Eric37. Could you tell me more detail? I've never been using Package and Deployment Wizard for install Screen Saver App. Thanks.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
MoMarviCommented:
Sounds a little viral? Does the user have any interaction as to whether they want to do this?
0
 
mcriderCommented:
The reason I told you to read the references...

Quotes from references:

"* In the File Make EXE File dialog, specify the program file name extension as .SCR instead of .EXE."

"* Locate the .SCR program file in the \WINDOWS directory."

"Screen savers are selected and configured from Windows Control Panel in the Desktop dialog."

You never mentioned in your question that you wanted to "force" a user to use your screensaver...

That is a completely different question from what you asked.  I tend to agree with MoMarvi, this sounds way too viral...


Cheers!
0
 
hpgdesignAuthor Commented:
Dear mcrider and MoMarvi
Thank a lot for your commants. I'm still looking for source code in API and I realy want to force my user to use my screen save .Could you help me now. Whaaat is wrong with that?
0
 
mcriderCommented:
I don't agree with forcing anything on a user... EVER!

Now with that said, you can modify the SYSTEM.INI entry:

SCRNSAVE.EXE=C:\WINDOWS\whatever_your_screensaver_is.SCR


Cheers!
0
 
hpgdesignAuthor Commented:
dear mcrider
But how about the watting time for active "my.scr"
                 

0
 
mcriderCommented:
WIN.INI

ScreenSaveActive=0
ScreenSaveTimeOut=1800


Cheers!
0
 
hpgdesignAuthor Commented:
Thank you mcrider, you're my teacher :)
I hope you will help me again when I have dificulties.
HPG.
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now