forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


@Regread() & Win XP

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
DanTheMan
Contributor
Contributor


Joined: 15 Mar 2002
Posts: 56
Location: Sweden

PostPosted: Sat Apr 20, 2002 8:32 am    Post subject: @Regread() & Win XP Reply with quote

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
Crying or Very sad

Tackar!
DanThe...
Back to top
View user's profile Send private message
LOBO
Valued Contributor
Valued Contributor


Joined: 14 Mar 2002
Posts: 241
Location: Wilmington, Delaware, USA

PostPosted: Sat Apr 20, 2002 11:18 pm    Post subject: Re: @Regread() & Win XP Reply with quote

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 Sad

- Mark
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
DanTheMan
Contributor
Contributor


Joined: 15 Mar 2002
Posts: 56
Location: Sweden

PostPosted: Sun Apr 21, 2002 10:17 am    Post subject: Reply with quote

Thank's LOBO!, I'll try to report this to S.A.D.E
Back to top
View user's profile Send private message
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Tue Feb 18, 2003 5:06 pm    Post subject: Reply with quote

Question 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
View user's profile Send private message Send e-mail
GeoTrail
Valued Contributor
Valued Contributor


Joined: 18 Feb 2003
Posts: 572
Location: Bergen, Norway

PostPosted: Tue Feb 18, 2003 5:26 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Tue Feb 18, 2003 5:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
GeoTrail
Valued Contributor
Valued Contributor


Joined: 18 Feb 2003
Posts: 572
Location: Bergen, Norway

PostPosted: Tue Feb 18, 2003 10:46 pm    Post subject: Reply with quote

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 Wink

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Wed Feb 19, 2003 7:10 am    Post subject: Reply with quote

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. Very Happy

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
View user's profile Send private message Send e-mail
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Fri Apr 11, 2003 5:30 pm    Post subject: Reply with quote

OK... is there anyone who knows *and can tell me* if VDS 5 supports the REG_MULTI_SZ registry data type Question
<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
View user's profile Send private message Send e-mail
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Fri Apr 11, 2003 5:48 pm    Post subject: Reply with quote

Seems to work just fine with 5, but I'm on Win XP Home.
Back to top
View user's profile Send private message
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Fri Apr 11, 2003 5:52 pm    Post subject: Reply with quote

Woohoo!!! Thanks Prakash! VDS 5 here I come! Very Happy
_________________
"ah, come take my hand... we're ridin' out tonight to face the promised land"
Get a free iPod mp3 player...
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group