When loading VBA applications in MicroStation/PowerDraft Connect (V10.12.00.40) I get either VBA INTERFACE ERROR: 135 or VBA INTERFACE ERROR: 140. The applications seem to run fine but I would like to get rid of these errors to keep users from thinking there is a problem. I have searched for an explanation of these errors but so far have not had any luck finding anything. Any insight on this would be appreciated.
I'm having a very similar issue to that above with Connect version 10.13.01.01 that I just upgraded to. I did not notice this when testing in earlier versions. I am also running an old V8i macro that was upgraded to run in Connect. It is also password protected. It appears immediately after executing the macro from a keyin (;vba l gis_tools;vba run loadform).
In addition to Error: 135 I also get a font error stating UM-Menu.dgnlib could not find SHX font PBABOLD. We don't even use any SHX fonts and I have not seen this prior to my upgrade. It only appears when running the Macro.
Mark Itil
University of Michigan
CAD Manager and UofM Site administrator
Mark, I had the same font issue with another font. The solution was to open the dgnlib and use the key-in "DELETE UNUSED FONTS".
Awsome David!! Thank you so much. This solve the Font error I was getting. 2 fonts were removed... I am still getting the Interface error 135 however.... Thanks Again!
Bentley Systems is aware of the VBA Interface errors and will fix in a future release. They don't seem to cause any real issues so for now just ignore them.
Thank you David. Weird I did not see this with our earlier version of Connect (10.12.00.40)