|
-
May 10th, 2001, 04:50 AM
#1
Retrieving a registry string
In order to retrieve a Visual Basic string registry value, you have to first make ample space in a string with a function such as Space, String or something similar.
What I want to know is if there’s any way I can find out how much space I need to set without having to query the registry value first to determine the string size, setting the space and then requerying in order to retrieve the data.
As far as I can tell you can store up to 30,000 bytes in a registry string, class REG_SZ. But I most definitely don’t want to allocate nearly 30 KB of memory space for each registry string request.
Any advice?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|