Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CreateObject with network installed executable

Status
Not open for further replies.

Qik3Coder

Programmer
Jan 4, 2006
1,487
US
I had a code block in an Access module that was working.
The sys admins upgraded the software and now it is not a local install, but a network install.

If I open the application manually, then the code is able to "Get" the running instance and works fine.

How can I tell the application to search a specific network folder for the application that it needs to "Create"?
Code:
...
If str_filename <> "" Then
Set obj = GetObject("", "myApp")
   If obj Is Nothing Then
       Set obj = CreateObject("myApp")
   End If
...

Thanks much,
Lodlaiden

A lack of experience doesn't prevent you from doing a good job.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top