Greetings,
I can manage, by either using enumerate windows or other functions, to check to see if an instance of Access is running and therby stop another instance loading. What i want though is to do this on a user by user basis. This because the accdr will be run on a remote server and i want to ensure that if User A logs on from one machine and opens Access, and does not shut down the accdr, when you go to start another session they will be told they need to close down the first one. So it is imperitive i only check for processes running for User A, otherwisr User B will be told that the application is running and they will need to close this - when in fact User A is the culprit.
Have looked and serached in may places thus far but have not found anywhere where i can find the solution, so does anybody have the answer?
I can manage, by either using enumerate windows or other functions, to check to see if an instance of Access is running and therby stop another instance loading. What i want though is to do this on a user by user basis. This because the accdr will be run on a remote server and i want to ensure that if User A logs on from one machine and opens Access, and does not shut down the accdr, when you go to start another session they will be told they need to close down the first one. So it is imperitive i only check for processes running for User A, otherwisr User B will be told that the application is running and they will need to close this - when in fact User A is the culprit.
Have looked and serached in may places thus far but have not found anywhere where i can find the solution, so does anybody have the answer?