Showing results for 
Search instead for 
Did you mean: 

winspec and activex

What kind of issue do you have exactly or what errors are you getting?

0 Kudos
Message 11 of 17

I try to control winspec via ActiveX and python win32, and it works on a virtual WinXP mashine (basic things atleast, as it does not have hardware installed).

Now if I install  winspec on windows 7 (x32) mashine, I see no Princeton Instruments WinX/32 Library in the list of registered libraries, so I get message that library is not registered when I try to acces it from python. And I cannot register it myself as like with a usual dll. 


0 Kudos
Message 12 of 17

As per Martin_Kroner's suggestion, running Winspec once as administrator on Windows 7 worked for me.

After doing this the "Roper Scientific's WinX/32 v3.12 Type Library" entry started showing up in VBA, and win32com.client.Dispatch("WinX32.DocFile") started working in Python.

0 Kudos
Message 13 of 17

Iam facing the same problem, could u try to run the Activx in windows 7

0 Kudos
Message 14 of 17

Did you read the last message just before yours in the thread?

Rolf Kalbermatter
Averna BV
LabVIEW ArchitectLabVIEW ChampionLabVIEW Instructor
0 Kudos
Message 15 of 17

As this forum post was made quite a bit ago and the people who participated in this thread may not be monitoring it anymore, I encourage you to make a new forum post with information about your issue if the information you find in this post is unable to resolve it. Thanks!

Jen P.
Applications Engineering
National Instruments
0 Kudos
Message 16 of 17

The WinX32 library is embedded in the WinX32 ( WinView or WinSpec ) 32 bit exe file and is self registering.  For Windows 7 32 bit, you need to navigate to the directory where the WinX32 exe file was installed, right click on the exe file, select run As Administrator to elevate the exe process to have the permissions to register the WinX32 Automation COM/ActiveX library.  This only needs to be done once, then the WinX32 program can be run by a regular user and have the library registered.


Best regards,



Robert Allen

Princeton Instruments

Application Specialist - Imaging

3660 Quakerbridge Road

Trenton, New Jersey


+1 (800)899-1144


0 Kudos
Message 17 of 17