Error message when running on a WXP machine.

Shingouki

New member
Local time
Today, 20:50
Joined
Sep 25, 2006
Messages
7
I have an access application front end running on a network drive. The back end is seperated from the Front End, and each user has a shortcut to a batch file that copies a local version of the front end to each users terminal to ensure they are all working from their own local copy. These users are all running on Windows 2000.

I have placed the shortcut on a new users terminal recently who has windows xp. They are able to access my other database applications fine using this method so the network / access in general seem ok. However in one particular dataabase I am receiving an error message regarding on of my modules that is used to capture the users user name.

Specifically the error occurs due to Space$ when I try to compile the code it gets stuck there. Is anyone aware of why this would compile fine on a win2k system but not on WinXP? Again all the other applications are running fine they also run numerous vb scripts so this is an isolated case...

Any help on this would be appreciated.
 
Post the code for the module so we can see what you're talking about.
 
You might want to check for MISSING References on that machine. Also, just as an FYI, because I used to use a long module to get the user's NT Login name, but found out an easier method on this forum. It is only one line and is:
Code:
Environ("username")

So, it could be used like
Code:
strUser = Environ("username")
 

Users who are viewing this thread

Back
Top Bottom