LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview ActiveX Woe with Windows 2000

Hello All:

We are having a specific problem that some of you may know how to fix
(we don't!) We thank you in advance for your help!

We recently "upgraded" from Windows NT to Windows 2000. Under Windows
NT, we had no problems with ActiveX containers when developing
applications with Labview 6.0.2 or 6.1, but under Windows 2000
problems have developed.

Here's the big picture. With Windows NT, we could do Labview
development involving ActiveX containers whether we were logged into
the Administrator account or logged in as a "Power User". With
Windows 2000, we can do development with ActiveX containers and also
run those programs when logged into the Administrator account, but we
cannot even create the ActiveX objects when we
are logged in as a
"Power User".

For simplicity, here's an example:

The following would work under Windows NT, but does not work under
Windows 2000

1. Open a new Labview form/vi
2. Insert an ActiveX container into this form/vi
3. Right click, and choose "insert an ActiveX object" from the menu
that appears.
4. Scroll down and select a "Microsoft Common Dialog" object.

Now, this whole process would work nicely under Windows NT. But it
would fail at the last step with Windows 2000 when logged in as a
Power User. The control simply will not appear.

If this is helpful, we have found that this problem does not occur
when we run Labview installed on a local machine. But if we try to
run off the network (which we usually do) the problem appears.

Thank you again for your help!

DR
0 Kudos
Message 1 of 3
(2,325 Views)
I may have an idea about your problem.
Unfortunately one of the new 'features' in Windows 2000 is the ability to register ActiveX components for individual users, or the whole system. It looks like the former is happening in your case.
As a developer I know about "Wise Installer" which gives you the possibility to choose. To do it without an installation kit, you probably need to ask an win2k administrator about dealing with this problem.

Hope this helps

p.s.: try to register that control manually for "power user" and see if it's working
0 Kudos
Message 2 of 3
(2,325 Views)
I saw the same problem when I first converted to Win2k. The way I fixed it was to install Visual C++, restart my computer and then deinstall it. At the end LV could once again see all the MS ActiveX stuff.

The only explaination that I got was that the ActiveX components weren't registered for development. Don't know if that's true or not but given the current buisness approach at MS, it sound reasonable.

By the way, when I talked to NI about the issue they assured me that they would be putting an entry in the KnowledgeBase concerning my case. Have you talked to NI about this issue?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(2,325 Views)