I was trying to place Microsoft's common dialogue control (6) into an active x container in LabVIEW 6.02. The container remains empty. I am running Windows 2000. I tried it on another Labview 6.02/Windows 2000 machine with the same results. Can you tell me why I can not use this control? (I was able to use other Microsoft controls this way, but I needed the common dialogue control.)
The common dialog control is used to display several common dialogs in windows. You can place the control in the container and then use an invoke node to launch a specfic dialog, and use property nodes too set options and read results of the dialog.
Attached is a simple examlpe of using the open dialog.
Do you know where to get the documentation on the methods/properties available for this dialog? "Brian Vibert" wrote in message news:506500000005000000523E0000-998794254000@exchange.ni.com... > The common dialog control is used to display several common dialogs in > windows. You can place the control in the container and then use an > invoke node to launch a specfic dialog, and use property nodes too set > options and read results of the dialog. > > Attached is a simple examlpe of using the open dialog. > > Brian
If you happen to have Visual Basic installed then it is in the help for that. If not then you can check out Microsoft's web site. The following link should bring you to what you want:
Hi Tom, try to use (or at least to insert) that control in another environment (like a Visual Basic form) in order to check if it's working properly. Also, check if you have the DLL with the same name in your system folder - this control it's just a simpler way to use that dll.
Okay, I need some help here. I can't get the common dialog control to work. Here's what I do: 1. From front panel, I drop an active x container. 2. I right click on the empty container and choose "insert active x object" 3. I find "Microsoft Common Dialog Control, version 6.0" and select it. 4. The active x container remains empty!!
What am I doing wrong? I regestered the control via regsvr32.exe and it said sucessful. Thanks!
Hi Labviewer, No, the label isn't changing. Still says "container". Also, when I try to run the example attached by Brian, I get error 97 "Unknown system error in commondialog.vi" Any help is appreciated.