Results 1 to 3 of 3

Thread: Getting a value for my Code from the Registry (Win32 Registry APIs)

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2003
    Posts
    308

    Question Getting a value for my Code from the Registry (Win32 Registry APIs)

    There is a variable (SQL Connection String) in my code that I do not want hard-coded.
    So I must find a way to be able to store that value in the Registry, and thus I need to import the Win32 Registry APIs (not sure what this implies) into my VB project and work from there.

    Anyone able to give me some pointers or point me in the right direction? I do not have much experience with Win32 and APIs but I was told this is an easy task.

  2. #2
    Lively Member
    Join Date
    Mar 2002
    Posts
    110
    download and install the following, its indispensable

    http://www.student.kuleuven.ac.be/~m....7/agsetup.exe
    it has tons of registry api examples and usages

  3. #3
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Here is a module that should help
    Attached Files Attached Files


    Has someone helped you? Then you can Rate their helpful post.

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