chitika

Sunday, September 11, 2011

How to get data from registry and save data to registry in vb?

This site provides users with the information about vb, visual basic, vb6, get registry data, save registry data, how to get registry data, how to save registry data, read data from registry, write data to registry, how to retrieve data from registry, how to set registry data, and more.

If you think that this site is helpful, please recommend your friends to visit our site.

How to get data from registry and save data to registry?

The following is the code to read data from registry and write data to registry:

1. Save data to registry


--------------------------------------------------------------------------------
'Syntax:

SaveSetting "app name", "Registry Folder Path", "Key Name", Value

'example:

mDate = "08082011"
SaveSetting App.Title, "Settings", "myDate", mDate

--------------------------------------------------------------------------------

2. Get data From registry

--------------------------------------------------------------------------------

'Syntax:

GetSetting "app name", "Registry Folder Path", "Key Name", Value

'example:

temp = GetSetting(App.Title, "Settings", "myDate", mDate)
MsgBox temp

No comments:

Post a Comment

For other hundreds of computer repair tips, tricks, tweaks, guide, help, please go to


http://website.edusoftmax.com