Link to home
Start Free TrialLog in
Avatar of hpgdesign
hpgdesign

asked on

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?
ASKER CERTIFIED SOLUTION
Avatar of mcrider
mcrider

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Create a setup program for your application by using the Package and Deployment Wizard.
Avatar of hpgdesign
hpgdesign

ASKER

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.
Sounds a little viral? Does the user have any interaction as to whether they want to do this?
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!
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?
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!
dear mcrider
But how about the watting time for active "my.scr"
                 

WIN.INI

ScreenSaveActive=0
ScreenSaveTimeOut=1800


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