|
-
Mar 25th, 2002, 09:15 AM
#1
Thread Starter
Hyperactive Member
Registry Key
How can I programmatically export a registry key from one machine and load it onto another machine?
-
Mar 25th, 2002, 09:26 AM
#2
Do you know the specific key that you want to export/import?
-
Mar 25th, 2002, 09:29 AM
#3
Thread Starter
Hyperactive Member
Actually, I have a couple of keys that I need to export from one machine and load on another.
I do know what the specific keys are.
-
Mar 25th, 2002, 09:31 AM
#4
Try this then:
VB Code:
'export
Private Sub cmdExportKey_Click()
Shell "regedit /e C:\MyFile.reg HKEY_CURRENT_USER\Software\Microsoft\Blah", vbHide
End Sub
'import
Private Sub cmdImportKey_Click()
Shell "regedit C:\MyFile.reg", vbHide
End Sub
-
Mar 25th, 2002, 02:23 PM
#5
Thread Starter
Hyperactive Member
Good deal!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|