- Home
·
- Registry
·
- Simple regwrite function.Make use of it ,when u need ur application to be started initially when wi
Simple regwrite function.Make use of it ,when u need ur application to be started initially when wi
Simple regwrite function.Make use of it ,when u need ur application to be started initially when windows starts.
Rate Simple regwrite function.Make use of it ,when u need ur application to be started initially when wi
(2(2 Vote))
'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
Simple regwrite function.Make use of it ,when u need ur application to be started initially when wi Comments
No comments yet — be the first to post one!
Post a Comment