Hello everybody.
I use the file dialog.vi to let the user choose a file. I have checked the option "use native file dialogs" in the tools/options/miscellaneous tab, because I want my application uses the windows dialogs instead of LabVIEW dialogs.
BUT, I need to change one property of this dialog. I want to change the property "Flags" of the comdlg32.ocx, that is the activeX control of the dialogs. I tried to do it in my application through activeX, opening an automation, but I obtain an error: "class not registered".
Then, I try to register the class (comdlg32.ocx) with regsvr32.exe (I have w2000 professional), but it gives me an error and I can't register it.
I have tried it on another computer, and I am able to register the class, but LabVIEW giv
es then another error: "no license for this class".
If I use the dialog box of LabVIEW instead of native dialog boxes of Windows, this property (flags) is set by default as I want, but I WANT to use the native dialog boxes of Windows?
What can I do? Is there any other way to change this property of the dialog boxes outside LabVIEW, maybe in the windows registry or something like this? Why have I the problems registering this class?
I have tried too to place an activeX container in my front panel and inserting an activeX object I pick up the Common Dialog Controls 6.0, but the container always remain empty!
I have tried too the tools/advanced/import activeX Controls...and select Microsoft Common Dialog Controls, version 6.0, but with no success, because LabVIEW gives me an error saying that cannot import the control (gives me the same error with any activeX control I choose, not only with this one).
Thanks in advance, any help will be greatly appreciated.