Results 1 to 3 of 3

Thread: Registry

  1. #1


    I am using Registry module. The problem is that lRet = Registry_SetValue("HKEYLM", "SYSTEM\WPA\MyProduct", "Installed", 1) always writes String value. I need DWord value. How should I do it?

  2. #2
    thinBasic MVPs
    Join Date
    Oct 2012
    Rep Power
    Registry_SetValue("HKEYLM", "abc", "defg", MKDWD$(1))
    valRet = CVDwd( Registry_GetValue("HKEYLM", "abc", "defg"))
    see CVx & MKx
    Last edited by ReneMiner; 27-11-2015 at 12:47.
    I think there are missing some Forum-sections as beta-testing and support

  3. #3
    No. I found the correct way. It is lRet = Registry_SetDWord("HKEYLM", "SYSTEM\WPA\MyProduct", "Installed", 1)

Similar Threads

  1. Registry problem again
    By Michael Clease in forum Modules specific issues
    Replies: 8
    Last Post: 16-07-2015, 18:26
  2. Registry Repair Programs
    By GSAC3 in forum General
    Replies: 1
    Last Post: 24-07-2009, 10:25
  3. Registry entry to the thinBasic folder?
    By Michael Hartlef in forum thinBasic General
    Replies: 2
    Last Post: 18-12-2006, 15:04

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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