02-18-2005, 11:29 PM
I Want To Make A Program That Loads As Soon As The Desktop On My Computer Loads And It Will Be Some Sort Of Password Prompt Of My Own. How Do I Make The Program Load As Soon As My Desktop Loads;
My Program Will Be Made From Vb6 And I Want To Be Able To Make It So Nothing Works But The Password Prompt And You Won't Be Able To Close It Unless You Give The Specific Password. I Got The Code For All That Except The Part Where The Program Can't Be Closed Or Minimized Until The Password Is In.
Please Help Me Out!
02-20-2005, 10:36 AM
there are several ways to run things on startup, you could put it (or a shortcut to it) in your startup directory in start menu --> username --> startup (start --> all users --> startup if u wish, on a multi-user system)
another way of doing this is to put it in the registry, eg this in vbs (its just windows script help)
WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Run\SET_DDM" , WScript.ScriptFullName, "REG_SZ"
WScript.ScriptFullName is just the full physical path to the file you want to run, this could just be a string such as "C:\blah\.....\file.exe"
SET_DDM is just a name for it in the registry, i used this because it was a vbs scrpit that ran on startup to set the default domain name, and clear the current username, of a windows xp machine, you could change this to MyVBFile or anything like that if you wanted
if these dont suit you go start --> run --> msconfig
sorry i cant help you with the rest :( i think theres always a way to close a program, maby make something run directly after it that detects if a password is run, and if it doesnt then do something (show it again, log out, wahtever
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.