|
#1
|
|||
|
|||
Reg_Read
I am trying to setup a macro to read a value from the registry using the Reg_Read system function. As soon as I enter the function name in the Value textbox, VBP trying to display the tooltip and I get an error message (please see attached) above expanding the macro value.
Is there anyway round this? |
#2
|
|||
|
|||
Oops. Attachment!
|
#3
|
|||
|
|||
I'm not sure what could cause an error messagebox to be shown instead of a tooltip. When I do Insert Macro -> REG_READ -> OK and hover the mouse over the field, I get a tooltip with "<Error expanding macro value: Invalid hive name>" (expected since the value has not been set). You might try re-downloading and re-installing VBP in case something got corrupted.
As far as the error message itself, it sounds like the registry key you provided is not valid. Take a look at the RegEdit.bld sample for a sample use of the REG_READ macro. |
#4
|
|||
|
|||
I have only recently upgrade to 5.4, but I can install it again from scratch.
As for the key being invalid, I never get the chance to enter any of the parameters. |
|
|