My Program First

Is it possible to run your program before the windows log on screen on a stand alone computer with multi-users ?
If so, where in the registry do i place this information or what do you suggest ?
I thank you
gbfine
gbfineAsked:
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.

EDDYKTCommented:
Run your program as services.
0
gbfineAuthor Commented:
eddykt, thanks for the reply to my question. How exactly does one "run their program as a service" ?

This is my first time here and i am not that great at visual basic as you can see from the question above !

Thanks
gbfine
0
BeedleGuisCommented:
Add a string value to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices\
that points to the app, name it anything you want  ie:   Name:MyApp  Value: C:\MyApp.exe

If you need to do this through programaticaly, I can also provide code to insert the value.
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
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!

gbfineAuthor Commented:
BeedleGuis, Thanks for your time. I already have the code to what you mention above. The problem is that the "Windows Log On Screen" loads before my program. Granted that the log on screen may get there a few seconds before my program because it is a .bmp and probably not as large a file as my program. My program is small though 250k

Regardless, I still would like to know how the the log on screen is getting there in the first place ? From the registry ? If so where in the registry?

I could just be going about this all wrong. If i could find where it is loading from then maybe i could just kill it huh ?

Do you know anything about running a program as a service as mentioned above by EDDYKT ? Lot of questions, just find the one you have a solution to if any !
Thanks
gbfine
0
BeedleGuisCommented:
Adding the entry in the registry is running the program as a service.  As far as where the log-on screen comes from?? no clue here, must be the *magic* of windows.  To kill it, as long as your not on a network, just set your password to nothing: delete the username.pwl from the windows directory where "username" is your username used to log-in, then when windows prompts you for a password at next log-in, leave the field blank and hit ok.  
0
gbfineAuthor Commented:
BeedleGuis, Thanks for all of your help. Sorry i was late in getting back to you!
gbfine
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.