none
Cannot embed Microsoft Visio Drawing Control on Access form RRS feed

  • Question

  • Windows 7 64bit
    Office Professional Plus 2016 32bit
    Visio Professional 2016 32bit

    In a new Access database, on a new form I can insert (via the insert Active X dialog) the Visio viewer control but not "Microsoft Visio 16.0 Drawing Control". 
    Access errors with: "the OLE server isn't registered. To register the OLE server, reinstall it"
    Attempting to add the drawing control to a form created in Word causes Word to crash.
    I can however embed a Visio drawing in an unbound OLE container, so OLE doesn't seem to be entirely broken!

    Have tried:

    Repairing both Visio & Office installs.

    Checked Visio & Office are fully updated (via Windows Update)

    Adding references in VBA module to:
    Microsoft Visio 16.0 Drawing Control Type Library
    Microsoft Visio 16.0 Save as Web Type Library
    Microsoft Visio 16.0 Type Library
    Microsoft Visio Viewer 16.0 Type Library

    The "Microsoft Visio 16.0 Drawing COntrol Type Library" refers to "C:\Program Files (x86)\Microsoft Office\Office16\VISOCX.DLL", so I tried re-registering it.
    To attempt this I copied VISOCX.DLL to SysWOW64 and ran "regSvr32 visocx.dll".
    This errors with "The module "visocx.dll" was loaded but the entry-point DLLRegisterServer was not found. Make sure that "visocx.dll" is a valid DLL or OCX file and then try again".

    I am stumped! I would really like to use the Visio drawing control on an Access form in my application, so any help much appreciated.
    Friday, December 2, 2016 10:52 AM

All replies

  • Not all ActiveX controls will work in Access just because you can see them in the list. It could very well be that the drawing library only works in Visio.

    Bill Mosca
    www.thatlldoit.com
    http://tech.groups.yahoo.com/group/MS_Access_Professionals

    Friday, December 2, 2016 6:11 PM
  • Hi,

    We are unable to insert the Microsoft Visio 16.0 Drawing Control into Access form. My Access crashes after inserting, I suggest you submit a feedback on the User Voice: https://access.uservoice.com/

    Sorry for any inconvenience and have a nice day! 

    Regards,

    Celeste


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, December 7, 2016 6:14 AM
    Moderator