Announcement

Collapse
No announcement yet.

Reading Registry problem!!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reading Registry problem!!

    Hey there,
    So I've been stuck on some code and no matter what I do, it will not show.

    On click

    Code:
    sGraph = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\WinSAT", "PrimaryAdapterString", false);
    Dialog.Message("Notice", sGraph, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
    This ALWAYS returns a blank, but I can see the data in regedit , so I KNOW it exists, but AMS cannot see it??
    I have also tried toggling the AutoExpand parameter,but still a blank result, can somebody please help with this.
    Thanks in advance all, and Happy Valentines Day to you all too

  • #2
    Interesting, what are you expecting it to show up; for me it results in an NVidia GeForce GTX 570 card which hasn't been in my system for over 5 years. I don't think that registry key can be trusted, haha!
    Bas Groothedde
    Imagine Programming :: Blog

    AMS8 Plugins
    IMXLH Compiler

    Comment


    • #3
      Originally posted by Imagine Programming View Post
      Interesting, what are you expecting it to show up; for me it results in an NVidia GeForce GTX 570 card which hasn't been in my system for over 5 years. I don't think that registry key can be trusted, haha!
      lately you are somewhat joker


      example
      Code:
      [ATTACH]n304734[/ATTACH]

      Comment


      • #4
        Originally posted by herrin View Post

        lately you are somewhat joker


        example
        Code:
        [ATTACH]n304734[/ATTACH]
        Haha, that wasn't a joke - I have a GTX 1070, not a 570 anymore :P
        Bas Groothedde
        Imagine Programming :: Blog

        AMS8 Plugins
        IMXLH Compiler

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎