VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

My procedures to access the registry with simple WMI referencing. The project is made to enhance th

H W Samuel  (4 Submissions)   Registry   VB 6.0   Unknown Difficulty   Sun 6th February 2005   Mon 8th February 2021

My procedures to access the registry with simple WMI referencing. The project is made to enhance the VB registry functions SaveSetting,

API Declarations


'the root keys you want to set
Public Enum REGToolRootTypes
HK_CLASSES_ROOT = &H80000000
HK_CURRENT_USER = &H80000001
HK_LOCAL_MACHINE = &H80000002
HK_USERS = &H80000003
HK_PERFORMANCE_DATA = &H80000004
HK_CURRENT_CONFIG = &H80000005
HK_DYN_DATA = &H80000006
End Enum

Dim strFullPath 'Stores full registry key paths
Dim objReg
Dim objSubKey, arrSubKeys

'Reference the local computer registry.
'Can be modified to access registries remotely!
Const strComputerName = "."

Rate My procedures to access the registry with simple WMI referencing. The project is made to enhance th (2(2 Vote))
My procedures to access the registry with simple WMI referencing. The project is made to enhance th.bas

My procedures to access the registry with simple WMI referencing. The project is made to enhance th Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters