11-07-2017 07:56 PM
Hi I am trying to get the active X remote interfaces for Visio to work from Labview similar to that of the excel examples provided with labview. I cannot seem to get the references to even open for a visio drawing control without errors. Does anybody have a simple program to get me started with Visio programmatically from labview?
11-08-2017 09:22 AM
Hi id,
Can you please elaborate on what you are trying to do with Visio in LabVIEW, and the functionality you want to have in your code. Also it might be helpful to post a screenshot of your code, so it is easier to understand the difficulties you are having.
-Michael
11-09-2017 09:06 AM
The labview application bombs out and gives this error message to close the app. I am simply trying to read in a visio drawing object for postprocessing in labview. I cant even open the visio drawing itself. I am using Labview 32 bit and my Visio version is MS Visio Standard 32 bit 2013. Any help on how to connect to a file and grab object info is appreciated. I have attached the fundamental code causing the error.
11-09-2017 04:18 PM
You need to use the proper ActiveX properties and methods. Her is a simple example. The following link is the place to look for the Visio Object Model. I used the Microsoft Visio 14.0 Type Library Version 4.e.
Ben64