Sima18
دوشنبه 22 اسفند 1384, 15:45 عصر
سلام دوستان عزیز :
من یه سوال در مورد رجستری داشتم
چه جوری می تونم تو رجستری یه value از نوع Dword ایجاد کنم؟
من ساخت یه Value از نوع String رو می دونم اما Dword ؟:اشتباه:
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\Curre ntVersion\Run\Exampel", "path of the Exampel"
End Sub
من یه سوال در مورد رجستری داشتم
چه جوری می تونم تو رجستری یه value از نوع Dword ایجاد کنم؟
من ساخت یه Value از نوع String رو می دونم اما Dword ؟:اشتباه:
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\Curre ntVersion\Run\Exampel", "path of the Exampel"
End Sub