Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Easy Way To Save Strings To The Registry, VB6
vbtbm
post Sep 25 2006, 09:33 PM
Post #1


Newbie
*

Group: Members
Posts: 5
Joined: 25-September 06
Member No.: 30,568



A Few People was asking me how to Save settings so you dont have to Set them everytime you Open up a Program, Well this is the easiest way I know. Maybe someone knows an Easier way. But Bleh Here

To Save Settings to the Registry - SaveSetting App.EXEName, "SectionName, "ValueName", "ValueText"
To Pull Settings From the Registry - Setting = GetSetting(App.EXEName, "SectionName", "ValueName")
To Delete Settings From the Registry - DeleteSetting App.EXEName, "SectionName", "ValueName"

And Also here is a Example I wrote

Download - Click Here

Go to the top of the page
 
+Quote Post
jlhaslip
post Sep 25 2006, 09:37 PM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,880
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



The Standard Warning Applies:

Make sure to back-up your Registry before you alter it.

Can't say that enough.
Go to the top of the page
 
+Quote Post
vbtbm
post Sep 25 2006, 09:59 PM
Post #3


Newbie
*

Group: Members
Posts: 5
Joined: 25-September 06
Member No.: 30,568



THis is very true and thank you for adding.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Cooolest Winapi Functions(0)


 



- Lo-Fi Version Time is now: 25th July 2008 - 09:43 AM