Results 1 to 12 of 12

Thread: Save To Registy?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2001
    Location
    Maumelle, AR
    Posts
    624

    Save To Registy?

    I need to save some very simple things in my program to the registry. Can someone post a short example of how to Read and write to the windows registry? Also, are there any differences with this in Windows XP? All I need to save is whether or not a a checkbox is checked or not. Then when I load the program get the registery setting and set the checkbox value to that. To be honest, I don't need to save settings much in the small apps I make, and I have forgotten how to do this! I had a module of how to use Get & Save setting in one of my programs, but it was lost when I cleaned up my system and upgraded to Win XP. Any example appreciated.

  2. #2
    Frenzied Member Microbasic's Avatar
    Join Date
    Mar 2001
    Posts
    1,402
    Try this:

    VB Code:
    1. 'To SAVE to registry:
    2. SaveSetting "MyApp", "MyCheck", "Value", Str(Check1.Value)
    3.  
    4. 'To GET from registry
    5. Check1.Value = Val(GetSetting("MyApp", "MyCheck", "Value", "0"))


    MicroBasic
    Dragon Shadow Trainer

    There is no good or evil in the world...only programmers and fools .

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2001
    Location
    Maumelle, AR
    Posts
    624

    I'm Sorry!!!!!!!

    I hate AOL! It kept saying Web site not responding, but apparently in went through and posted my post 5 times!!! Man the forum is slow anyway. I switched to IE and I'm going back and deleting the other posts. Sorry about this.

    -Jeremy

  4. #4
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    IMHO, AOL sucks!!
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  5. #5
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    LOL, it's actually the web server.
    Baaaaaaaaah

  6. #6
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Yeah, it has been disturbing lately.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  7. #7
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    I don't want to turn this into chit-chat materia, but I didn't meant because of this issue... AOL sucks because of its essence t do things.

    BTW, are you getting emails stating that someone has reply on a thread you've subscribe?? Or is it just my email server?
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  8. #8
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by Mc Brain
    I don't want to turn this into chit-chat materia, but I didn't meant because of this issue... AOL sucks because of its essence t do things.

    BTW, are you getting emails stating that someone has reply on a thread you've subscribe?? Or is it just my email server?
    That's a customizable option of the forums. Are you getting them or not getting them?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  9. #9
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    I know that... but It gotta be a problem with my email server because I'm getting the emails at work (when re-configured the email to get them here)
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  10. #10

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2001
    Location
    Maumelle, AR
    Posts
    624

    I'm not either......

    I'm not getting the e-mails either! And I haven't changed my user options. I just stopped getting e-mails about replies to my posts. And It takes like 5 min for threads to load. The server is bogged down and overcrowded certain times of the day. I've got DSL so I can tell how slow it really is. And yes, AOL sucks but they are the only DSL provider in my area as of now and I just can't suffer dial-up.

  11. #11
    PowerPoster cafeenman's Avatar
    Join Date
    Mar 2002
    Location
    Florida
    Posts
    2,819
    It's not your AOL I don't think. Sometimes this server gets pretty bad. I've had times when I got e-mails a day later. Usually I get them right away, but I think it's a problem with the server this forum is on getting overloaded.

  12. #12
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    Well, the email that I gave to vbforums.com is now used to receive spam so I don't check it anymore.
    Baaaaaaaaah

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width