I'm trying to use a few 07 apps at work and having some problems while testing. I loaded the 2007 runtime on my machine, it currently has 2003. I started one app and it was shutting down due to runtime error. Well, it seems to be a very generic error statement, so it doesn't give you a clue as to what is causing the problem!
The first problem was in GetUser function... Found some code on here...changed it from GetUserName =Environ("UserName") to GetUserName = VBA.Environ("UserName") That stopped THAT runtime error..... Now I'm looking at a second app that I posted here
http://www.access-programmers.co.uk/forums/showthread.php?t=181273
Again..... generic.... "Execution of the application has stopped due to runtime error" This app has a lot of code, I have no idea where the error might be... it works perfect in full version of 2007, but runtime error when using the "2007 runtime"
Any ideas what causes these problems?
Thanks
The first problem was in GetUser function... Found some code on here...changed it from GetUserName =Environ("UserName") to GetUserName = VBA.Environ("UserName") That stopped THAT runtime error..... Now I'm looking at a second app that I posted here
http://www.access-programmers.co.uk/forums/showthread.php?t=181273
Again..... generic.... "Execution of the application has stopped due to runtime error" This app has a lot of code, I have no idea where the error might be... it works perfect in full version of 2007, but runtime error when using the "2007 runtime"
Any ideas what causes these problems?
Thanks