by Martin Anbu Selvan (18 Submissions)
Category: Registry
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 26th February 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Simple regwrite function.Make use of it ,when u need ur application to be started initially when windows starts.
'St.joseph's college of Engineering,chennai.
'[email protected]
'Function for RegWrite
Private Function RegWrite(Key1, SValue As String)
Set WSHShell = CreateObject("WScript.Shell")
WSHShell.RegWrite Key1, SValue
End Function
'Button to create an Autorun Key
Private Sub Command1_Click()
RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\notepad.exe", " path of the notepad"
End Sub
No comments have been posted about Simple regwrite function.Make use of it ,when u need ur application to be started initially when wi. Why not be the first to post a comment about Simple regwrite function.Make use of it ,when u need ur application to be started initially when wi.