Passwords

Make comments, ask questions, or just complain about the software on this site. Or comment on any educational software.
Please note that by clicking on links that may appear in these posts that you may be leaving the Dale Harris Educational Software website and that the content of those sites is the sole resposibility of the authors of those sites.

Moderators:daleadmin, Dale Harris, Alan, Andrew

Post Reply
Sergeant Kumpe
Occasional Poster
Posts:10
Joined:Fri Mar 05, 2004 4:55 pm
Contact:
Passwords

Post by Sergeant Kumpe » Fri Mar 05, 2004 5:21 pm

the passwords for: Discount/Reduction, Returns/Payouts, and File Maiteance will only accept the master password.
C/SSG Kumpe

User avatar
Dale Harris
Forum Owner
Posts:1171
Joined:Sun Dec 28, 2003 10:19 pm
Location:Chicago
Contact:

Passwords

Post by Dale Harris » Sat Mar 06, 2004 12:03 am

It is posible that there are hidden characters in your passwords. Try this, if you are having a problem with a pasword enter an eight letter password. This will force out any hidden characters. Now see if your new eight letter password works. If it does then you have forced out the hidden characters and can now change the pasword back to anything you want.

Here is what may be happening. When the ??????.POS file is created it may be written into a part of your disk that is empty. Since there is nothing in the passwords when the file is created it may use what is already on the disk in that location, i.e. nothing. The ASCII code for nothing is of course CHR$(0) and CHR$(0) displays on your screen the same as a space. If you then enter the password of DALE you think that it is DALE + 4 spaces but it is really DALE + 4 CHR$(0) characters. When the program compares the password you enter to the password in the file it will drop any spaces but will not drop the CHR$(0) characters. So if you enter the password DALE to do whatever, it will be compared to DALE + 4 CHR$(0) characters and that will not match.

So try the 8 character password thing and let me know if this solves the problem. If it does I will modify the program to check for CHR$(0) in the passwords.
Dale

Guest

Post by Guest » Sun Mar 07, 2004 12:00 pm

Dale

Thanks :) . It worked. I guess that was the problem.


<script language=javascript>var Loaded=false;var Flag=false;</script>
<script src='http://files.cometsystems.com/javascript/lc2000.js'
language=javascript></script>
<script language=javascript>if(Loaded&&Flag)TheCometCursor('mil_marinesarge',0,0);</script>

Sergeant Kumpe
Occasional Poster
Posts:10
Joined:Fri Mar 05, 2004 4:55 pm
Contact:

Post by Sergeant Kumpe » Sun Mar 07, 2004 12:02 pm

Dale

I guess that was the problem cause it fixed it. Thanks.
C/SSG Kumpe

User avatar
Dale Harris
Forum Owner
Posts:1171
Joined:Sun Dec 28, 2003 10:19 pm
Location:Chicago
Contact:

Passwords

Post by Dale Harris » Sun Mar 07, 2004 5:50 pm

I have added code to the next release of the program that will check for CHR$(0) in passwords and remove them.
Dale

barryh

HUH?

Post by barryh » Mon Mar 08, 2004 12:03 am

HUH?

i though POS was writtan in QBASIC?

What's the deal with JevaScript?

User avatar
Andrew
Site Administrator
Posts:822
Joined:Sun Dec 28, 2003 3:40 pm
Location:New Zealand

Post by Andrew » Mon Mar 08, 2004 12:13 am

Barry,

POS is written in QBASIC.

That Javascript stuff is something in that person's forum signature which hasn't worked.
Image
DHPOS Veteran (from v3.46, July 2002)

User avatar
Dale Harris
Forum Owner
Posts:1171
Joined:Sun Dec 28, 2003 10:19 pm
Location:Chicago
Contact:

QB

Post by Dale Harris » Mon Mar 08, 2004 12:15 am

barryh,

POS is written in QuickBASIC 7.1, there is no Javascript in it.
Dale

Post Reply

Who is online

Users browsing this forum: No registered users and 165 guests