CodeWidgets.com: Online Source Code Library: C#, ASP, ASP.NET, VB, VB.NET, VB Script, Microsoft Access, Excel, JavaScript, J Script, XML, VBScript, Website Design, DevExpress Components, Reporting, Application and Website Templates.

Widget #CS0064

Using the Windows Registry to store values. (Microsoft Access)

Free

VB 6.0, Microsoft® Access 2000-2016
Save and retrieve user settings using the registry.

Private Sub SaveStartUp()
'Save the Value in the Registry
'SaveSetting AppName As String, Section As String, Key As String, Setting As String

SaveSetting "MyAppName", "StartUp", "DefaultMenu", "StartUpFormName"
End Sub

Private Function GetStartUp()
'Get the Value From the Registry
'GetSetting AppName As String, Section As String, Key As String, Default_Value_If_Setting_Not_Found_Setting As String

DoCmd.OpenForm GetSetting("MyAppName", "StartUp", "DefaultMenu", "DefaultValue")
End Function

Last Updated: 4/27/2018


Related Widgets 
Price 
# 
CS0035 Alternate row colors on reports with Microsoft Access 2000-2016$0.00Add To Cart
CS0036 Microsoft Access Monthly Calendar Report (ACCDB)$10.00Add To Cart
CS0037 Microsoft Access Monthly Calendar Report (MDB)$10.00Add To Cart
CS0001 Universal Navigation Buttons (Microsoft® Access)$10.00Add To Cart

Recently Viewed Widgets 
Price 
# 
No data to display

Collapse/Expand
Format

Plug & Play Code

Copy the Source Code Above..


Collapse/Expand
License

License

No Restrictions

Re-Distribution Permitted
This source code is provided to you "as is" without warranty
CLICK HERE FOR TERMS OF USE
Copyright 2000-2006 Comrie Software Solutions


This website uses Cookies to store User information and Shopping Cart Items for the duration of your visit to CodeWidgets.com.

No Credit Card or Financial information is stored by CodeWidgets.com. Click Here For Our Complete Privacy Policy and Terms of Use.

I Understand