02-16-2012 08:39 AM
Hello everyone,
I have a problem using the FileSelectPopup on Windows 7. When I open a FileSelectPopup and click on "Libraries" (I use a german OS where this feature is called "Bibliotheken", so I hope you get to the point) to select a file in Documents for example, then the return value is 2 (a new file was selected, not an existing one) and the file path starts with strange characters.
The call to FileSelectPopup that I use is the following:
ret = FileSelectPopup ("", "*.txt", "*.txt", "Select file to import labels", VAL_SELECT_BUTTON, 0, 0, 1, 0, sFileName);
Is this a known problem or limitation of the FileSelectPopup?
I am using LabWindows/CVI 2010 SP1.
I have attached a screenshot of the IDE at a break point just after the call to FileSelectPopup.
Thank you for your comments.
Best regards
Hagen
02-16-2012 11:26 AM
Yes, this is a known issue that is being addressed in the next version of CVI.
Sorry about the inconvenience.
Luis
NI
01-30-2013 04:19 PM
I am seeing the same issue in LabWindows 2012. FileSelectPopupEx works okay, but FileSelectPopup doesn't.
01-31-2013 08:10 AM
Yes, that is the expected behavior, unfortunately. FileSelectPopup will always have this problem. The solution to this problem was to introduce the FileSelectPopupEx function.
:ios