I use a following code to run a procedure in another application:
Expand|Select|Wrap|Line Numbers
- Dim App as Access.Application
- set App = CreateObject("C:\MyApp.mde")
- App.Run "MyProc"
- ...
So if my main application supports Access2K2, and the user has Access2K installed (in addition to Access2K2), CreateObject may return Access2K application - even if calling application is running on Access2K2.
So the question is how to get the Application object of the desired Access version ?