Results 1 to 30 of 30

Thread: [RESOLVED] Registry Read Problems Confound Me

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2013
    Posts
    21

    Resolved [RESOLVED] Registry Read Problems Confound Me

    Hello, Good Day to All

    I would like some help with this, i'm creating a custom app for myself but i'm doing so as if it were to be used by others. This is just for the knowledge since i'm very interested in software development.

    I've spent 3 days trying to get this done on my own and with the help of Google, I've learned some things but none of which seem to be helping and thus i'm confused. I'm trying to read the registry for the current version of Microsoft Access installed on the Machine. The code I've been using lets me know that the registry key does exist but for some reason i can't get the value, it just shows as blank in the messagebox.

    MessageBox.Show(My.Computer.Registry.ClassesRoot.OpenSubKey("Access.Application\CurVer", False).ToString)

    MessageBox.Show(My.Computer.Registry.ClassesRoot.GetValue("Access.Application\CurVer"))

    The version of Access (2007) i have is 32bit, and i'm running windows 8.1 Pro 64bit. I've tried compiling the app for any cpu/32bit/64bit (Read about the registry redirects) and i always get a blank messagebox.

    I'm hoping more experienced people can give me a hand, thanks if you can.
    Last edited by WestFiasco; Jul 8th, 2014 at 02:25 PM.

Tags for this Thread

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