Microsoft
Software
Hardware
Network
Question : Add New REG_DWORD type Hexadecimal base Key in Registry using VB6
I have developed VB6 Application.
Using this application I want to create some new key in registry.
I Can create New Kay in registry successfully when Key type = REG_SZ but, I want to create new Key for Type = REG_DWORD, Base = Hexadecimal and value data= 0.
How can I create this type of entry in Registry?
Also, How can I run .reg file using VB6.?
Answer : Add New REG_DWORD type Hexadecimal base Key in Registry using VB6
For REG_DWORD you need to se the size to DWORD value which is 4, Where as for REG_SZ you set the size to the Length() of the string.
Random Solutions
Creating tables and relationships with normalisation
DataGrid Datasource is nothing after postback. Can't get at the data.
Microsoft forefront and Windows 7 installation failure
Display RSS Feed in Access Database
Database restore (MS-SQL 2005) Does DB need to be off-line for a restore
How do I convert horizontal columns in Excel to Vertical Columns
How to pass Id in Repeater control
Outlook Closing Spontaneously
Using SQL for Gridview Paging vs Caching
Negative Values in a Numeric Field