How To Use RegObji.exe to Copy a Registry Key Programmatically (297292)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
This article was previously published under Q297292 SUMMARY This article serves two purposes:
- Demonstrate how to use RegObji.exe to copy a registry key
to another location in the registry.
- Demonstrate how to use a registry key that contains binary
data (specified as type REG_BINARY) because the examples that come with
RegObji.exe do not demonstrate how to handle a binary registry
value.
The code sample in this article does not store the REG_BINARY
value. If you need to preserve a value by assigning it to a variable, you can
store the binary data in a variable of the VARIANT
datatype. The
following file is available for download from the Microsoft Download
Center: For
additional information about how to download Microsoft Support files, click the
following article number to view the article in the Microsoft Knowledge Base: 119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help to
prevent any unauthorized changes to the file.
Modification Type: | Minor | Last Reviewed: | 8/5/2004 |
---|
Keywords: | kbdownload kbdownload kbCodeSnippet kbDLL kbfile kbhowto kbRegistry KB297292 |
---|
|