Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenRoads | OpenSite
  • Product Communities
OpenRoads | OpenSite
OpenRoads | OpenSite Wiki Object Reference & Name Change for MX v8i SELECTSeries 3
    • Sign In
    • -Road and Site Design - Wikis
      • +OpenRoads Designer
      • +OpenRoads ConceptStation
      • +OpenRail Designer
      • +OpenSite Designer
      • +OpenRoads Navigator Mobile App
      • +SS10/SS4/SS3 OpenRoads
      • +GEOPAK Native
      • +InRoads Native
      • -MX Native
        • +Analysis
        • +Arenium
        • Capture Google Earth image not working in MX SS4
        • Cycle MX Status Tooltips between Coincident strings.
        • +Data Import & Export
        • +Design Options
        • +Display / Draw
        • +Drainage Design
        • +Error Messages
        • Graphical Filters for Terrain Models
        • How to Change Color Table in MX v8i Select Series 3
        • +Installation & Configuration
        • Maximum limit for chainage
        • +Modify
        • +MX and AutoCAD
        • -MX Tools / Add-Ins
          • Drag and drop tool boxes to the menu bar disappears from the screen
          • How to Set up Input File Runner in Common Editors
          • MX Simple Print Tool [TN]
          • MX Status Monitor
          • MXTOOLS Quick Reference [TN]
          • Object Reference & Name Change for MX v8i SELECTSeries 3
          • Run Input Files Through Notepad++ Editor in MXRoad
        • MX v8i Showing Trial/Demo Message after Product Activation
        • MX v8i Status Tooltips
        • +MX-Trucs et Astuces [TN]
        • Pavement and Subgrade Design
        • +Project
        • +Project Explorer Settings
        • +Report
        • +Visualise
      • +OpenRoads SignCAD

     
     Questions about this article, topic, or product? Click here. 

    Object Reference & Name Change for MX v8i SELECTSeries 3

       
      Applies To 
       
      Product(s): Bentley MXROAD
      Version(s): 08.11.09.493
      Environment:  N/A
      Area:  MX Add-ins
      Subarea:  N/A
      Original Author: Jason Walsh, Bentley Technical Support Group
       

     

     

     

     

     

     

     

    MX v8i SS3 allows parallel install with MX v8i SS2.  For this we have changed a number of dlls that VB projects might reference.  If you have any existing SDK project (MX Add-in) you will have to upgrade these in order for them to work with MX v8i SS3.

    Steps to compile existing code against MX v8i SS3

    1. You will need to maintain a separate code structure for MX v8i SS3.  Make a copy of any existing code into a new folder.
    2. Make sure you only have MX v8i SS3. This will ensure you are not still picking up references to MX v8i SS2 files.
    3. The reference and name changes can be found in the excel document Object Reference & Name Change for SELECTSeries 3 of MX. The changes are probably best done using a find and replace tool such as Visual Studio.
    4. References to OCX’s in your .vbp and .frm files need to be changed.  There is an Excel document that lists these changes. The areas here to change are under the headings of OCX References.  See Below for an example of an OCX reference change.
    5. References to DLL’s in your .vbp files need to be changed.  There is an Excel document that lists these changes. The areas here to change are under the headings of DLL References.  See Below for an example of a DLL reference change
    6. Object names have changed. We have added a version version number to the end of our objects.  Again a search in the code to replace the values is needed.
    7. Load your MX v8i SS3 vb project and compile.

    Example of OCX Reference change

    This example is for any projects that use the Point.ocx.  In the .vbp file replace the reference to point.ocx.  This can be done by editing the .vbp file and replacing:

    Object={86EFDEC8-CD83-11CE-BBDE-0000C0156C0B}#1.0#0; point.ocx

    with

    Object={536C0170-035E-4757-9597-268561EFFAD6}#1.0#0; point.ocx

    You will need to modify any forms that contain a point ocx.  Edit the .frm file and replace

    Object = "{86EFDEC8-CD83-11CE-BBDE-0000C0156C0B}#1.0#0"; "point.ocx"

    With

    Object = "{536C0170-035E-4757-9597-268561EFFAD6}#1.0#0"; "point.ocx"

    Example of DLL Reference change

    This example is for any projects that use MossSysBuild.dll.  In the .vbp file replace the reference to MossSysBuild.dll.  This can be done by editing the .vbp file and replacing:

    Reference=*\G{DC4BBFA1-4BCA-11D2-9C89-00104B4B1633}#2.0#0#

    With

    Reference=*\G{2258EF60-2BD8-4634-85DB-3A7DF9F6310B}#2.0#0#

    See Also

    MX TechNotes And FAQs

    MX Tools / Add-Ins

    • Generic
    • Bentley MXROAD
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • Jason Walsh Created by Bentley Colleague Jason Walsh
    • When: Fri, Oct 11 2013 5:41 AM
    • Jason Walsh Last revision by Bentley Colleague Jason Walsh
    • When: Tue, Apr 8 2014 10:29 AM
    • Revisions: 2
    • Comments: 3
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies