Skip to content

read registry key value with 2 lines of code 0)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #188328


    Set objShell = CreateObject("Wscript.Shell")
    RegSetting = objShell.RegRead("HKCUSoftwarepaltalkcur_user")

    for beginner only 😆 you must add microsoft window scripting componate to to project

    #188332
    Admin
    Administrator

    point?

    #188331

    point is you dont have to use api function to read registry key or write with something openreqkey blablabla

    #188330
    Admin
    Administrator

    but thats just reading keys…no fun…

    #188329

    for writing to registry???



    Set objShell = CreateObject("Wscript.Shell")
    objShell.RegWrite "HKCUSoftwaretestsubtestkey", "testingvalue", "REG_SZ"

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.