One of the features of a MS Access DB I created is to open each of our Catia versions (R27, R28, R30) directly, using VBA (by default we have 3 versions of Catia on our desktop all with the same icons and similar titles). They all open just fine and have no issues except for one of the revisions (R27, the oldest - rev 2017) won't let you connect to 3Dexperience - when you try, it displays an error saying C:\Program Files\Dassault Systemes\B421xcadconnectors\win_b64\code\bin\ENOIEF3DExpServices.dll: Can't find dependent libraries: Error Image However, I have searched and that library is there. Maybe it can't find a library that the mentioned .dll relies on? Is there a way to find what libraries it relies on?
Once this error occurs, the only way to fix it is to completed kill your session (we use VMware) and grab a brand new one (shut down and restart completely)
This error only happens when you open from the database.
What's weird is that Catia R27 has always done this (about a year since we created this MS Access DB) but Catia R30 JUST started doing this last week. Our workaround is having VBA open a folder with only the relevant Catia shortcut in it. Not the worst, but would like to open it directly so users don't have to manually close yet another explorer window.
I have tried many different methods of opening from VBA - all calling on the desktop shortcut directly.
- ShellExecute 0, "OPEN", "C:\Users\Public\Desktop\CATIA V5-6R2017.lnk", "", "", 1
- CreateObject("Shell.Application").open CVar("C:\Users\Public\Desktop\CATIA V5-6R2017.lnk")
- Shell "C:\Users\Public\Desktop\CATIA V5-6R2017.lnk", vbnormalfocus
I am able to open Catia R27 via a batch file directly with no issues, but even if I open the batch file that opens Catia R27 from MS Access, this error still occurs This is the command in the batch file: start "" "C:\Users\Public\Desktop\CATIA V5-6R2017.lnk"