TSO Posted June 10, 2008 Share Posted June 10, 2008 I'm a nooblet and have no idea how to do this, hoping someone can help. I'm basically trying to read a registry key, and have a text output based on the result. For example, if the regkey data value shows 'Supported', I want to have a msgbox pop up that says "Supported".. and if the key returns any other value, I'd like the msgbox to pop up saying "Undefined". Any coding help at all, even just to get me started, would be a huge help. Link to comment Share on other sites More sharing options...
PantZ4 Posted June 10, 2008 Share Posted June 10, 2008 Sure. $msg = RegRead("MyKey","MyValue") If $msg <> "Supported" Then $msg = "Undefined" EndIf MsgBox(0,"My Program",$msg) Link to comment Share on other sites More sharing options...
TSO Posted June 10, 2008 Author Share Posted June 10, 2008 Sure. $msg = RegRead("MyKey","MyValue") If $msg <> "Supported" Then $msg = "Undefined" EndIf MsgBox(0,"My Program",$msg)You kick ass Mr. 0. Thanks for the assist 8-) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now