VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Auto Start with Windows (fixed)

Dound  (7 Submissions)   Registry   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

Make your program start when windows starts. Short and easy.

API Declarations
Private Declare Function RegDeleteValue Lib "advapi32.dll" Alias "RegDeleteValueA" (ByVal hKey As Long, ByVal lpValueName As String) As Long
Private Declare Function RegSetValueEx Lib "advapi32.dll" Alias "RegSetValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, ByVal dwType As Long, lpData As Any, ByVal cbData As Long) As Long
Private Declare Function RegOpenKeyEx Lib "advapi32.dll" Alias "RegOpenKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal ulOptions As Long, ByVal samDesired As Long, phkResult As Long) As Long

Rate Auto Start with Windows (fixed) (3(3 Vote))
Auto Start with Windows (fixed).bas

Auto Start with Windows (fixed) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters