The MicroStationDGN.Application VBA object starts the latest installed Bentley application.

I'll try to explain the issue(s) in a detailed way.

The MicroStationDGN.Application VBA object works fine as long as MicroStation only is installed.

The MicroStationDGN.Application VBA object seems to start the latest installed application when multiple applications are installed,

for instance if Bentley View or Bentley Navigator has been installed after MicroStation.

Therefore - the big question is, whether it is possible to force MicroStation only to start when the MicroStationDGN.Application is activated in the vb,net code?

Regards,

Roald Tvedt

Parents
  • Unknown said:
    The MicroStationDGN.Application VBA object seems to start the latest installed application when multiple applications are installed

    That's the way that Microsoft COM works.  When you install a COM-enabled application (MicroStation, View, Navigator etc) the information about COM is stored in the Windows Registry.  When you invoke the COM server associated with a particular Registry key (e.g. MicroStationDGN), Windows knows to start that application.  When multiple apps. provide the same capability (i.e. MicroStationDGN) then the most recent installation wins.

    If you're prepared to footle with the Registry, then you can set the entry for a key (such as MicroStationDGN) to another app.  Footle with the Registry with caution!

     
    Regards, Jon Summers
    LA Solutions

Reply
  • Unknown said:
    The MicroStationDGN.Application VBA object seems to start the latest installed application when multiple applications are installed

    That's the way that Microsoft COM works.  When you install a COM-enabled application (MicroStation, View, Navigator etc) the information about COM is stored in the Windows Registry.  When you invoke the COM server associated with a particular Registry key (e.g. MicroStationDGN), Windows knows to start that application.  When multiple apps. provide the same capability (i.e. MicroStationDGN) then the most recent installation wins.

    If you're prepared to footle with the Registry, then you can set the entry for a key (such as MicroStationDGN) to another app.  Footle with the Registry with caution!

     
    Regards, Jon Summers
    LA Solutions

Children
No Data