| View previous topic :: View next topic |
| Author |
Message |
DanTheMan Contributor


Joined: 15 Mar 2002 Posts: 56 Location: Sweden
|
Posted: Sat Apr 20, 2002 8:32 am Post subject: @Regread() & Win XP |
|
|
Is this a bug or what am I doing wrong ?, Tryed to use @regread() on a registry key with a data type REG_MULTI_SZ, will return nothing at all. On Win-2000 the same read workes just fine.
It seems to be a problem with VDS 4.50 ,XP and this new registry data type, although ordinary type REG_SZ workes fine on XP
Tackar!
DanThe... |
|
| Back to top |
|
 |
LOBO Valued Contributor


Joined: 14 Mar 2002 Posts: 241 Location: Wilmington, Delaware, USA
|
Posted: Sat Apr 20, 2002 11:18 pm Post subject: Re: @Regread() & Win XP |
|
|
| DanTheMan wrote: | Is this a bug or what am I doing wrong ?, Tryed to use @regread() on a registry key with a data type REG_MULTI_SZ, will return nothing at all. On Win-2000 the same read workes just fine.
It seems to be a problem with VDS 4.50 ,XP and this new registry data type, although ordinary type REG_SZ workes fine on XP |
I got the same issue with REG_EXPAND_SZ it returns nothing at all
- Mark |
|
| Back to top |
|
 |
DanTheMan Contributor


Joined: 15 Mar 2002 Posts: 56 Location: Sweden
|
Posted: Sun Apr 21, 2002 10:17 am Post subject: |
|
|
| Thank's LOBO!, I'll try to report this to S.A.D.E |
|
| Back to top |
|
 |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Tue Feb 18, 2003 5:06 pm Post subject: |
|
|
Any update on this? I am also just now running into a brick wall with this registry data type. Is there a DLL that will allow access to REG_MULTI_SZ registry keys? |
|
| Back to top |
|
 |
GeoTrail Valued Contributor


Joined: 18 Feb 2003 Posts: 572 Location: Bergen, Norway
|
Posted: Tue Feb 18, 2003 5:26 pm Post subject: |
|
|
I'm using XP Pro with SP1 and this code works perfectly. It gets the directory where you last downloaded a file:
| Code: | %%Test = @REGREAD(CURUSER, Software\Microsoft\Internet Explorer, Download Directory)
info You last downloaded to:@cr()%%Test |
|
|
| Back to top |
|
 |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Tue Feb 18, 2003 5:45 pm Post subject: |
|
|
Yes, that code does work fine because the key you're reading is a REG_SZ data type. The problem is REG_MULTI_SZ data types. Try this one...
| Code: | %%Test = @REGREAD(LOCAL,SYSTEM\CurrentControlSet\Services\Tcpip\Linkage,Route)
IF %%Test
INFO Registry test query return: %%Test
ELSE
INFO Registry test query returned nothing!
END
EXIT |
On my system the key does exist but the code returns nothing. |
|
| Back to top |
|
 |
GeoTrail Valued Contributor


Joined: 18 Feb 2003 Posts: 572 Location: Bergen, Norway
|
Posted: Tue Feb 18, 2003 10:46 pm Post subject: |
|
|
Aaa yeah I see.
Shouldn't there be an option to specify which data type you want to retrieve?
I know some languages you have to specify wether it's a REG_SZ value or whatever.
But hey, what do I know. I just started using VDS two-three days ago. But I'm loving it so far  _________________
 |
|
| Back to top |
|
 |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Wed Feb 19, 2003 7:10 am Post subject: |
|
|
I know that the VDSREG.DLL in Tommy's VDSDLL 3 package allows you to specify data type for some operations but not for reg_multi_sz keys. I was just hoping that something new had developed since this thread had been hashed... oh, well! Here's hoping that *cough* *cough* will have that capability.
And welcome to the VDS community GeoTrail... I've been using VDS since 1997 and I can say it's still the easiest language I know of. |
|
| Back to top |
|
 |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Fri Apr 11, 2003 5:30 pm Post subject: |
|
|
OK... is there anyone who knows *and can tell me* if VDS 5 supports the REG_MULTI_SZ registry data type
<whisper>please say yes, please say yes...</whisper>
This is holding up several programs I have in the works and I would love to know if I can plan on completing them soon. _________________ "ah, come take my hand... we're ridin' out tonight to face the promised land"
Get a free iPod mp3 player... |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1566
|
Posted: Fri Apr 11, 2003 5:48 pm Post subject: |
|
|
| Seems to work just fine with 5, but I'm on Win XP Home. |
|
| Back to top |
|
 |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Fri Apr 11, 2003 5:52 pm Post subject: |
|
|
Woohoo!!! Thanks Prakash! VDS 5 here I come!  _________________ "ah, come take my hand... we're ridin' out tonight to face the promised land"
Get a free iPod mp3 player... |
|
| Back to top |
|
 |
|