• [C# MicroStation V8i SELECTSeries 10] OpenDesignFile causes error 'No design file is active'

    Mervin Bowman
    Mervin Bowman
    I have this code below working in an MS_INITAPP for MicroStation CONNECT edition update 15, but running it in MicroStation V8i in an entirely new project for.NET 3.5, I am seeing the following error: No design file is active at Bentley.Interop.MicroStationDGN…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • MicroStation VBA: OpenDesignFile vs. OpenDesignFileForProgram

    Jon Summers
    Jon Summers
    A VBA programmer can open a DGN file using two methods: OpenDesignFile and OpenDesignFileForProgram . This blog attempts to clear up confusion between the two, and which one to use. Prefer OpenDesignFile Prefer OpenDesignFile to OpenDesignFileForProgram…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Blog
  • Using VBA and Excel to open a .dgn

    John Parker
    John Parker
    I have some VBA code in an Excel spreadsheet where I am trying to open a dgn in order to do some editing: Dim oMSApp As MicroStationDGN.Application Dim myDGN As DesignFile Dim myFSO As New Scripting.FileSystemObject Dim myFile As Scripting.File …
    • over 7 years ago
    • MicroStation Programming
    • MicroStation Programming Forum