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


Joined: 01 Aug 2002 Posts: 790
|
Posted: Fri Aug 23, 2002 6:14 pm Post subject: this is not my day other problem with VDSreg..help |
|
|
i have been playing with this vdsreg and i make a key for my program is works great (in windows 9 BUT if i tryied to run my program with key in xp it don't see the key
how can i fix this for xp?
thanks |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Fri Aug 23, 2002 8:04 pm Post subject: ok i'am pulling my hair out on this one |
|
|
wow
I have played with this for the last hour...its weird works great on 98 but for the life of me i can't get i to work woth xp i even tried to rename the key file thinkg that maybe the key file name was to long..nope no go i'am going to keep playing with it to see if i can find anything out...
if any one has any ideas please post
thanks |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat Aug 24, 2002 12:08 am Post subject: |
|
|
An uneducated guess here, but maybe from within your own program change the attributes of the key file to remove all possible attributes.
It may be that XP automatically set attributes to the key file and your VDS program is unable to access the file due to the attributes.
-Garrett |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Sat Aug 24, 2002 4:24 am Post subject: hummm |
|
|
I thik i follow what you are saying....can you tell me how i set the xp attributes? and if so what doo i chnage then to?
thanks |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat Aug 24, 2002 6:34 am Post subject: |
|
|
FILE SETATTR, <file path>, <attributes>
FILE SETATTR changes the attributes of the file <file path>. The string <attributes> consists of one or more of the following characters:
+ turns on the attributes following (default)
- turns off the attributes following
A archive attribute
H hidden attribute
R read only attribute
S system attribute
| Code: | %%KeyFile = path and name of key file here
File Setattr,%%KeyFile,-AHRS |
|
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Sat Aug 24, 2002 6:40 am Post subject: ok |
|
|
do i added thoses lines above this:
| Code: | | %%KeyFile = @Path(%0)@Name(%0).key |
OR do i replaced that line with yours?
thanks |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat Aug 24, 2002 6:45 am Post subject: |
|
|
Ok, do this then:
| Code: | %%KeyFile = @Path(%0)@Name(%0).key
file Setattr,%%KeyFile,-AHRS |
|
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Sat Aug 24, 2002 6:47 am Post subject: ohhhh k |
|
|
ohhhhh k
I see that your other post chnage you must of been editing it when i was answering back
ok i will give that a try
thanks |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat Aug 24, 2002 6:50 am Post subject: |
|
|
Hehehe.. Yup  |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Sun Aug 25, 2002 4:46 am Post subject: nope :( |
|
|
will i added that line nope still no go
any other ideas?
thanks |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Sun Aug 25, 2002 5:59 am Post subject: ok |
|
|
I have tried the following and still no go
1. chnage the ext to somethimes else besides key
2. gave "full" path to point to the key file
grrrrrrrrr |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sun Aug 25, 2002 5:20 pm Post subject: |
|
|
At the moment, no other ideas from me.
-Garrett |
|
| Back to top |
|
 |
|