Results 1 to 5 of 5

Thread: [RESOLVED] SaveSetting() and GetSetting() simple question

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    760

    Resolved [RESOLVED] SaveSetting() and GetSetting() simple question

    Since when using SaveSetting() in VB the data is stored in \HKEY_CURRENT_USER\Software\VB and VBA Program Settings\ProgName of the registry, will SaveSetting still work if the user doesn't have VB installed? Will SaveSetting() create "VB and VBA Program Settings" in the registry if it isn't there?
    If I helped you out, please consider adding to my reputation!

    -- "The faulty interface lies between the chair and the keyboard" --

    VB6 Programs By Me:
    ** Dictionary, Thesaurus & Rhyme-Generator In One ** WMP Recent Files List Editor ** Pretty Impressive Clock ** Extract Firefox History **

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: SaveSetting() and GetSetting() simple question

    Yes.

  3. #3
    Frenzied Member wiz126's Avatar
    Join Date
    Jul 2005
    Location
    Mars,Milky Way... Chit Chat Posts: 5,733
    Posts
    1,080

    Re: SaveSetting() and GetSetting() simple question

    Yes I will

    if a user doesn't have vb installed it will creat the "VB and VBA Program Settings" folder, oyu can make it save in the normal place for more softwares :
    HKEY_CURRENT_USER\Software with no "VB and VBA Program Settings" subfolder


    .
    1) If your post has been adequately answered please click in your post on "Mark Thread Resolved".
    2) If someone has been useful to you please show your respect by rating their posts.
    3) Please use [highlight="VB"] 'your code goes in here [/highlight] tags when posting code.
    4) Before posting your question, make sure you checked this links:
    MICROSOFT MSDN -- VB FORUMS SEARCH

    5)Support Classic VB - A PETITION TO MICROSOFT

    ___________________________________________________________________________________
    THINGS TO KNOW ABOUT VB: || VB Examples/Demos
    What are Classes?
    || -
    Where to place a sub/function?(global) || Webbrowser control

  4. #4
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: SaveSetting() and GetSetting() simple question

    Yes you can get it to save your settings under any key in the registry but not without using the registry API functions. The GetSetting and SaveSetting functions only work on the above mentioned key.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    760

    Re: SaveSetting() and GetSetting() simple question

    OK, thanx everyone.
    Thread resolved!
    If I helped you out, please consider adding to my reputation!

    -- "The faulty interface lies between the chair and the keyboard" --

    VB6 Programs By Me:
    ** Dictionary, Thesaurus & Rhyme-Generator In One ** WMP Recent Files List Editor ** Pretty Impressive Clock ** Extract Firefox History **

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