
'Registry Manager v2.2
'Description: include this dll in your application.
'It will manage application registry setting and log lile
'Source code and usage demo are provided
'Only string values are supported.
'Revisions:
'v1.2
'Added functionality for managing application log file
'v2.1
'Recordset is used for data exchange and reference added to msador15.dll

'Usage Examples
'1.Declaration:
'   Set oApReg = New cApReg
'2.Load application Registry value list:
'   oApReg.Init(Optional aRootKey As Long, Optional aSubKey As String) as long
' following registry are mandatory: 
' "logfile_path" - default value: System Temp Path,
' "logfile_size" - "1000" (part of the log file in char to be returned),
' "debug_mode" - "N"
'3.Update or create new registry value 
'   oApReg.Update(tValueName, tValueData)
'4.Access the data after initialization:
'    If oApReg.FindReg(tValueName, temp) Then tValueData = temp
'5.Delete a registry:
'   oApReg.DeleteReg(tValueName)
'6.Write to log:
'   WriteToLog(Optional path_product As String = "", Optional strn As String = "", Optional DebugFlag As Boolean = False)
'   if DebugFlag = True, Log File will be appended only if "debug_mode" is set to "Y"
'   example - oApReg.WriteToLog "App_name", "Info"
'7.Get log:
'   oApReg.GetLogFile As String

'questions, bug report - levrom@hotmail.com
'if you like it then
' - you can sent $1 to my paypal account (levrom@hotmail.com) - optional
'else
' - you can sent angry e-mail to levrom@hotmail.com - required
'end if
'all sources are free to use on your own risk

keywords: registry dll vb development free sources
