Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-17-2004, 05:40 AM
SGGardiner SGGardiner is online now
Registered User
 
Join Date: 03-09-2004
Location: Belfast, Northern Ireland
Posts: 5
Question 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?
Reply With Quote
  #2  
Old 06-17-2004, 05:42 AM
SGGardiner SGGardiner is online now
Registered User
 
Join Date: 03-09-2004
Location: Belfast, Northern Ireland
Posts: 5
Unhappy

Oops. Attachment!
Attached Images
 
Reply With Quote
  #3  
Old 06-17-2004, 07:40 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Reply With Quote
  #4  
Old 06-17-2004, 08:29 AM
SGGardiner SGGardiner is online now
Registered User
 
Join Date: 03-09-2004
Location: Belfast, Northern Ireland
Posts: 5
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:06 PM.


Copyright © 1999-2023 Kinook Software, Inc.