Hi all.
I use a following code to run a procedure in another application:
The problem is that when using CreateObject I cannot determine which version of Access will be started for App.
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 ?
I use a following code to run a procedure in another application:
Code:
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 ?
Comment