Suppress Connect project chooser dialog

How do I disable Connect project chooser dialog when using Multiframe COM automation interface.  Multiframe requires user input at this dialog (either cancel or select a project) - takes away from the whole point of using COM interface.  For our purposes, the file does not need to be associated with a project.

Top Replies

Parents Reply Children
  • Thank you.  I am using version 22, recently upgraded from 21.  I had to add the line to the registry and then set to zero and it worked to suppress the Project Chooser dialog window.  However, the COM application takes significantly more time to run.  When registry setting is set to 1 and I click Cancel on the Project Chooser dialog during the COM application, the application takes 27 seconds to run.  When the setting is set to zero (dialog is suppressed), it takes 215 seconds to run.  It seems to be checking against the Bentley Cloud Services after every command.  Screen clipping of the status bar is below (the green status bar continuously flashes while COM is running).  When the registry setting is set to 1, the status bar never displays this message, there is no delay.

    As a second test, with Multiframe closed, I set the registry setting to zero, re-started Multiframe and tried drawing members in a new project.  There is an obvious delay after every command.  With Multiframe still running, I clicked on Bentley Cloud Services, chose Associate Project to prompt the Project Chooser Dialog, then clicked cancel on that dialog.  After doing that, there is no longer a delay after every command.

    What is causing the delay?  I need the COM application to runtime to be closer to 27 seconds with the Project Chooser dialog suppressed.

  • thanks for the extra detail, are you able to share your VBA? code that accesses Multiframe through COM so that we can attempt to see what might be going on?

    thanks,

    Pat

  • This happens even with the sample automation "GeneratePortal.xls" included with the Multiframe install.  Here are links to screen recordings captured while the GeneratePortal is running:

    With registry setting set to zero (Project Chooser Dialog suppressed)https://www.screencast.com/t/o1zLTV7JImV  Note the status bar continuously displaying "Waiting for Bentley Cloud Services"

    With registry setting set to one (clicking cancel on Project Chooser Dialog): https://www.screencast.com/t/9d0CN8hqwc2

  • Hi Trevor,

    I've seen one other user with this happening. Can you please try associating your file with a project. You will need to register a project, you call it anything with any reference number.

    We found that by associating it with a project, Multiframe stopped looking for a project and the delays went away.

    Can you please let me know if it resolves it for you? We are working on a permanent fix.

    Thanks,

    James

  • I don't want to associate it with a project.  I am using COM automation to run an analysis in Multiframe from Excel.  I have no need to associate it with a project, it is a one time run only.  We use Multiframe as the analysis engine, exporting all the results back to Excel for further manipulation.  Having to associate with a project requires the user to manually click on cancel in the Project Chooser dialog (or pick a project) - the automation is stalled until the user responds.  That defeats the purpose of running Multiframe via COM.  Why can't the project chooser dialog by suppressed and Multiframe not look for a project after every command?  Can a line of vba code be created to cause the same effect as the user manually clicking cancel on the Project Chooser dialog?