Connect vba load key-in not loading from non-support locations

Hello,

In my external application I call vba load to load  in a vba project from a temporary location, this location is not in the searchpaths or any other config variable. In pre-Connect versions this is not an issue, but with Connect Update 14 this is just reporting as Project not found. You can manually load that project without any issues.

Parents
  • Hi ,

    Can you provide the exact error number and message (or screen capture showing full details)?

    Although I am not checking in MicroStation V8i (only CONNECT), I can execute a key-in to a load VBA macro not defined with MS_VBASEARCHDIRECTORIES and it loads/unloads just fine in the Microsoft VBA Editor. NOTE: Doing so will not show as loaded in the MicroStation VBA Project Manager, but loads and shows fine in the Microsoft VBA Editor Project Manager.

    e.g. vba load "d:\Temp2\Find Me\Find Me.mvba"

    FWIW. Unless otherwise specified in application/API documentation - Quotes should always be used when providing folder and/or file names containing spaces.

    HTH,
    Bob



Reply
  • Hi ,

    Can you provide the exact error number and message (or screen capture showing full details)?

    Although I am not checking in MicroStation V8i (only CONNECT), I can execute a key-in to a load VBA macro not defined with MS_VBASEARCHDIRECTORIES and it loads/unloads just fine in the Microsoft VBA Editor. NOTE: Doing so will not show as loaded in the MicroStation VBA Project Manager, but loads and shows fine in the Microsoft VBA Editor Project Manager.

    e.g. vba load "d:\Temp2\Find Me\Find Me.mvba"

    FWIW. Unless otherwise specified in application/API documentation - Quotes should always be used when providing folder and/or file names containing spaces.

    HTH,
    Bob



Children
No Data