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.
If you are opening an existing file, then first manually associate it with a project (even if its a dummy one) once this is done, you wont get prompted again.
Another way is to log out of the connection centre. This will give a one-time warning when the Multiframe first starts but then the dialog will not be shown. This warning dialog can be prevented from displaying by changing the registry setting to zero:
HKEY_CURRENT_USER\Software\Bentley\MultiframeCommon21\ShowConnectFailMessage
we will look to see if we can disable the Project chooser when run via COM
I have the same question. Then . . . How do you change the registry setting to zero?
I use RegEdit - but make sure you know what you are doing
Any updates to this issue for version 22 of Multiframe which now requires the user to be logged into Connection Client to verify software license. Previous answer worked for older versions using SelectServer, but not with the new SES. Any way to control the Project Chooser window via COM?
Hello Trevor, can you tell me what exactly the problem is that you are facing and which version you are using. You seem to mention several things, and Im unsure as to which is causing the problem. As mentioned before there is a registry key which if set to '0' (zero) will prevent the project chooser from displaying (irrespective if called from COM or interactively). But the location of the registry key is major version specific, so if you have upgraded from 21 to 22 you will need to add a new key. You do also need to set the registry key before Multiframe is launched because the keys are read from the registry only at the start of when the application is run.
Here with the key set to 1 (one) (ie true) the Project chooser dialog is shown:
If I turn off the key with '0' (zero) and restart everything (including Excel), the project chooser is not displayed
(note file was saved from COM and dialog was not shown)
GeneratePortal.xls