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 


trouble with windows xp

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


Joined: 01 May 2003
Posts: 61

PostPosted: Sun Nov 16, 2003 5:29 pm    Post subject: trouble with windows xp Reply with quote

I made a program(in vds 4) a while back. works great on
win 95/98 but now i have reports that it chokes on XP
any ideas why? i ues the registry is it the same as 98?
harry
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Sun Nov 16, 2003 7:22 pm    Post subject: Reply with quote

What kind of program, and what registry entries are you using?

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon Nov 17, 2003 8:39 am    Post subject: Reply with quote

hi harry,

i have had a similar problem with one of my programs called >Canary...it monitors computer use and internet access by keeping track of the title bars of open windows...my program runs great under win95/98/me...BUT it has a number of problems under xp...it runs but records nothing and some users have mentioned that their system became highly unstable after installing my program and were very eager to get rid of it

i never found out why my program did this...it was written in vds 4.5

sorry i don't have an answer but just letting you know that i came across the same thing

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Mon Nov 17, 2003 9:20 am    Post subject: Reply with quote

If a program is not run as an adminstrative user then it will not be able to access certain folders nor write to parts of the registry. You really need to keep to HKCU registry keys, and for disk space create folders under <user>\Application Data.

Having said that, I have a problem with my program GetBack (written in VDS 5) that has me completely stumped. The user claims to be runing as an administrative user and has sent screenshots to show exactly what he is doing. But it shouldn't matter as GetBack runs perfectly as an ordinary user as well. The problems he is having indicate that my program is being prevented from creating *any* file, either the folder it needs to work in, or a shortcut in the user programs Startup group that ensures it is started automatically whenever he logs in. If anyone has any ideas what could cause this I'd like to hear them.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Nov 17, 2003 4:30 pm    Post subject: Reply with quote

jules wrote:
If a program is not run as an adminstrative user then it will not be able to access certain folders nor write to parts of the registry. You really need to keep to HKCU registry keys, and for disk space create folders under <user>\Application Data.

Having said that, I have a problem with my program GetBack (written in VDS 5) that has me completely stumped. The user claims to be runing as an administrative user and has sent screenshots to show exactly what he is doing. But it shouldn't matter as GetBack runs perfectly as an ordinary user as well. The problems he is having indicate that my program is being prevented from creating *any* file, either the folder it needs to work in, or a shortcut in the user programs Startup group that ensures it is started automatically whenever he logs in. If anyone has any ideas what could cause this I'd like to hear them.


All I can think of Jules is to have him check his secruity policies. Also is the user on a Domain? If so then he may be logging into the domain as a different user than his local user account and the domain user may not have access to the local computer. Have the user login to the local machine and not a domain then try your program again and see what happens.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
harry
Contributor
Contributor


Joined: 01 May 2003
Posts: 61

PostPosted: Mon Nov 17, 2003 5:33 pm    Post subject: Reply with quote

2 things
the program uses lots of math

1. I write number of uses (its a demo version)
in the registry under root.
2. i make a ini file on the fly as it has some info i don't want to share with just anybody as it is key to how the program calcs
the factors .its deleted at the end of each use.
thanks,
harry
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Mon Nov 17, 2003 5:36 pm    Post subject: Reply with quote

Like everyone is mentioning above, it might be permissions issue on the
XP machines.

If the user does not have permission to write to the registry, then your
program won't be able to write to the registry.

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Mon Nov 17, 2003 7:06 pm    Post subject: Reply with quote

harry wrote:
2 things
the program uses lots of math


With math you've got to bear in mind that not all people use period as the decimal separator. If you've got any constants they may not be interpreted correctly. It's not an XP thing but a locale thing. You have to use OPTION DECIMALSEP. I've forgotten this so many times, it's why the VDS 5 compiler a displays warning if you've done any math and not used it.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Tue Nov 18, 2003 6:26 am    Post subject: Reply with quote

jules wrote:
You have to use OPTION DECIMALSEP. I've forgotten this so many times, it's why the VDS 5 compiler a displays warning if you've done any math and not used it.


And which compiler might that be???

I've forgotten the DECIMALSEP issue lotsa times but I'm yet to see any warning about that.

Greetz
Dr. Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
harry
Contributor
Contributor


Joined: 01 May 2003
Posts: 61

PostPosted: Tue Nov 18, 2003 6:44 am    Post subject: Reply with quote

OPTION DECIMALSEP is set to "."
so i guess that it is the permission
i'll see if the user can change it. it is a single user and a at home box.
Can someone tell me what settings need to be changed ?
i only have win 95/98 and i'm in the dark about xp.
thanks
harry
Back to top
View user's profile Send private message
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