Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem #1 with my program on a network

Status
Not open for further replies.

mathprof

Programmer
Nov 8, 2000
37
US
Hi,
When a student logs on to my program at a workstation, the program asks for a password and a 'password' file on the server is checked. If the password is found, then that students' grade file is opened and his name appears on the opening screen.
A school told me that when 2 students log on at the same time, sometimes one of their names appears on BOTH computers. Why might this happen. ?
The password file contains all the passwords for the class and each student has a separate grade file.
Do I need to code for the possibility of several students accessing the password file simultaneously? What would that code look like?
Prof Weissman
 
Are you by chance using an out of process server (an ActiveX.EXE) on the server side or did you compile the program to an EXE and not use any custom VB made dll's?

Where is the students name coming from? I'd start here and trace it back to how the name gets loaded. Look for multi-user issues when working backwards from the dislay of the name. Snaggs
tribesaddict@swbell.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top