04-22-2009 04:08 AM
Hello,
I'm having a problem using the MultiFileSelectPopup. I'm using Labwindows/CVI 8.5.
The problem is: I try to support different file types for my application. But when I select a different file type the files are not displayed instantly. The file browser window simply stays white.
I'm calling it like this: MultiFileSelectPopup(folderOpen, "*.clf","*.clf;*.pdf;*.kml", Dialogues_Open_Data_File, 0, 0, 1, &numFiles, &fileList);
Default file type is CLF. When I load up the popup all CLF files are displayed correctly, but when I change to e.g. PDF there aren't any files in the display. However the files are displayed after I switch out of the folder and go back in.
Is there anything I can do to fix this behaviour?
04-23-2009 10:10 AM
Hi Excaliburn,
I tried to reproduce your problem, but it worked fine on my computer.
This is what I wrote:
void main(void)
{
/*
* Local Variable Declarations:
*/
int numFiles;
char** fileList;
MultiFileSelectPopup("", "*.cws","*.cws;*.c;*.ini", "Test", 0, 0, 1, &numFiles, &fileList);
}
I also tried with different extension types and folders, but it always worked fine.
Maybe I didn't understand exactly what you mean. If that is so, then please give me some more detail.
Regards,
10-21-2009 03:07 AM
Hi,
I have the same problem.
I found out that it only happens when you use the Excel Report instrument in order to access an xls file.
The MultiFileSelectPopup works fine at start but after creating a report file it fails as you described here.
Any solution?
I'm using Labwindows/CVI 8.5.
Thanks.
10-23-2009 01:41 AM