LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with Common Dialog Control 6.0

Hi, I am using the common dialog control in a labview vi. I created the
program on a win2k machine and had no troubles with it, however when i tried
running on a 98 machine it failed. Although the CommonDialog control (v6.0)
appeared under the insert ActiveX control list, nothing appeared when i
tried re-inserting it. The title of the ActiveX container remained blank
and had no properties. Has anyone seen this before? Any help would be
greatly appreceated.
0 Kudos
Message 1 of 4
(3,050 Views)
You have to make sure the ActiveX control is registered on the Win98 Machine:

from ni.com:

ActiveX controls are files with an .ocx extension. These controls come in 16-bit as well as 32-bit forms, with 32-bit being the most predominant. To register an ActiveX control, you can use regsvr32.exe as follows:

Go to Start » Run.


Type the following in the dialog box that appears:

regsvr32
Where is the location of your ActiveX control.
If you have a 16-bit control, you may run regsvr instead of regsvr32. If your ActiveX control is registered incorrectly, you must first unregister it and then register it again. In both cases, you will get a dialog box prompting you that your control has been un
registered or registered successfully. To unregister a control, use the switch /u (i.e., regsvr32 /u ).

Note: For a complete listing of the switches available, just type regsvr32 from the Start » Run dialog box.

Michael Aivaliotis


Michael Aivaliotis
VI Shots LLC
0 Kudos
Message 2 of 4
(3,050 Views)
Thanks, but it already is. It is a standard windows control and appears in
the insert activeX control dialog therefore must already be registered.
0 Kudos
Message 3 of 4
(3,050 Views)
I have never actually seen this, so I have heard of some people having trouble with this particular ActiveX control. When you say it worked on 2000 but not 98, does this mean that you built an executable with it and tried to run this exe on 98? Did it fail during development on a 98 machine? Whichever way you tried it before, I would try it the other and see what happens. Also, make sure that it's the same version of the control on both machines. One last thing, make sure you have 98 second edition. I know there were problems with the first edition related to ActiveX controls.
J.R. Allen
0 Kudos
Message 4 of 4
(3,050 Views)