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?
hpgdesignAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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 Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.