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 


what i'am doing wrong...VDSREG not working right for me
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Aug 06, 2002 8:06 pm    Post subject: what i'am doing wrong...VDSREG not working right for me Reply with quote

i'am playing with this VDSREG program, i have maded a key file and i have this fucntion in my code:

Code:
:BUTTON3BUTTON
If @not(@equal( %%Registered, Registered ))
Warn
Goto evloop
end
  LIST CLEAR,lText
  LIST ADD,lText,"Getting Information."
  LIST ADD,ltext,"This May Take A Moment, Please Wait..."



BUT with the key file in the same dif and the script, and when i go to that button and press it it saids "This function is disabled in the non-registered version." even tho i have the key file. what i'am doing wrong? do i need to register this VDSREG before it will work?



thanks
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Tue Aug 06, 2002 9:38 pm    Post subject: Reply with quote

Which button were you pressing on VDSReg?
I'm not sure what you mean.

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Aug 06, 2002 10:41 pm    Post subject: hummm Reply with quote

i'am pressing the button that is in my code and i get that msg no mater if i have the key file there or not....
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Tue Aug 06, 2002 11:00 pm    Post subject: Reply with quote

I'm guesssing the compiled EXE won't give that message.
You might try closing/restarting VDS.

With the registered version of VDS3, if I try to compile
a program while the program EXE is running, the compile
fails (it can't write to the EXE file). The next time I try to
compile I get that message, so it sometimes just shows
up when it shouldn't.

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Aug 06, 2002 11:10 pm    Post subject: hummm Reply with quote

so it my code right then? did i do it right? i can't compile cause i didn't buy the VDS (yet)...its trial version
BUT this show work without it compiled right?
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Tue Aug 06, 2002 11:18 pm    Post subject: Reply with quote

If your %%Registered variable holds the correct value from
your reg key, the @equal() line should work. I usually enclose
string values in quotes though:

if @not(@equal(%%Registered, "Registered"))

You don't have a value after the WARN command though...

It should be WARN Oops... or something.

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Aug 06, 2002 11:26 pm    Post subject: hummmm Reply with quote

i must have somethimng worng..still don't work also to i do have a value for warn ( sorry about that ) it didn't copy when i cut and paste it

here is what i have:

Code:
:BUTTON3BUTTON
If @not(@equal( %%Registered,"Registered" ))
Warn This function is disabled in the non-registered version.
Goto evloop
end
  LIST CLEAR,lText
  LIST ADD,lText,"Getting Information."
  LIST ADD,ltext,"This May Take A Moment, Please Wait..."



and i have the "key" file in the same dir and i still get that msg which is "This function is disabled in the non-registered version."


Sad
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Aug 06, 2002 11:28 pm    Post subject: i fix it :) Reply with quote

i found the problem

can't have spaces

Smile
Back to top
View user's profile Send private message
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Tue Aug 06, 2002 11:29 pm    Post subject: Reply with quote

And what is %%Registered being set to?
You need to read your Reg file and if it's correct set %%Registered to "Registered".

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Aug 06, 2002 11:31 pm    Post subject: i found my problem Reply with quote

can't have spaces in the command line Smile
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Tue Aug 06, 2002 11:33 pm    Post subject: Reply with quote

OK, that's good to know. I assumed the quotes would
eliminate extra spaces, but apparently trailing spaces
(even after quotes) are a no-no...

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Tue Aug 06, 2002 11:39 pm    Post subject: Reply with quote

Not just that, the variable can't have a space in front of it either.
@NOT(@EQUAL( %%Registed,"Registed")) Doesn't work either.

But of course we both look for a bigger problem than spaces Smile

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Tue Aug 06, 2002 11:48 pm    Post subject: Reply with quote

Not so, snarling woolly one... Wink

This works fine (in VDS3 anyway)...
Code:

%%data = "fred"

if @equal(              %%data,    "fred")
   INFO OK
end


Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Wed Aug 07, 2002 12:15 am    Post subject: Reply with quote

LoL..ok then just wth was I doing? Just about that same thing wasn't working for me when I posted that..
_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Wed Aug 07, 2002 12:28 am    Post subject: Reply with quote

Your spelling of "Registered" maybe? Wink

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
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
Goto page 1, 2  Next
Page 1 of 2

 
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