| View previous topic :: View next topic |
| Author |
Message |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Aug 06, 2002 8:06 pm Post subject: what i'am doing wrong...VDSREG not working right for me |
|
|
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 |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Tue Aug 06, 2002 9:38 pm Post subject: |
|
|
Which button were you pressing on VDSReg?
I'm not sure what you mean. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Aug 06, 2002 10:41 pm Post subject: hummm |
|
|
| 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 |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Tue Aug 06, 2002 11:00 pm Post subject: |
|
|
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  _________________ 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 |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Aug 06, 2002 11:10 pm Post subject: hummm |
|
|
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 |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Tue Aug 06, 2002 11:18 pm Post subject: |
|
|
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  _________________ 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 |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Aug 06, 2002 11:26 pm Post subject: hummmm |
|
|
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."
 |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Aug 06, 2002 11:28 pm Post subject: i fix it :) |
|
|
i found the problem
can't have spaces
 |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Tue Aug 06, 2002 11:29 pm Post subject: |
|
|
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 |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Aug 06, 2002 11:31 pm Post subject: i found my problem |
|
|
can't have spaces in the command line  |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Tue Aug 06, 2002 11:33 pm Post subject: |
|
|
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  _________________ 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 |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Tue Aug 06, 2002 11:39 pm Post subject: |
|
|
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  _________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Tue Aug 06, 2002 11:48 pm Post subject: |
|
|
Not so, snarling woolly one...
This works fine (in VDS3 anyway)...
| Code: |
%%data = "fred"
if @equal( %%data, "fred")
INFO OK
end
|
Cheers, Mac  _________________ 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 |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Wed Aug 07, 2002 12:15 am Post subject: |
|
|
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 |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Aug 07, 2002 12:28 am Post subject: |
|
|
Your spelling of "Registered" maybe?
Cheers, Mac  _________________ 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 |
|
 |
|