LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Append file name using FileSelectPopup() under Windows VISTA

Hi
 
I was using FileSelectPopup() without any problem before Windows Vista came in town.  In Vista, if I click on an existing file name, let say Logfile1.tem, the file name "Logfile1.tem" appear in the File Name box.  Then if I change this string to Logfile2.tem, the FileSelectPopup() function will return "Logfile1.tem" anyway.  This behaviour is not possible using XP.  Using Vista, if I want "Logfile2.tem" to be return, I have to type the whole file name, if I click on an existing file name, this is what will be return whatever I will type in the file name box after.
 
This is how I call File SelectPopup:
stat = FileSelectPopup (".", "*.tem", "*.tem", "Select logging file", VAL_SAVE_BUTTON, 0, 1, 1, 1, pathName);
 
I just moved from CVI 8.0 to 8.5 to fix others minors  "Vista bug" but this one still alive...
 
Any idea ?
Thanks
Message 1 of 6
(4,185 Views)

Good catch!  I too see this behavior in Vista in my application.  I note that even if I press <Tab> after editing the name, it still does not take the edited name. However <F5> (which refreshes the file listing) does cause it to pick up the edited name. 

I'll be monitoring this thread with interest.

--Ian

0 Kudos
Message 2 of 6
(4,153 Views)
I echo the appreciation for the wonderful catch; I've reproduced this behavior as well. This was reported to R&D (# 4H9HQTH9) for further investigation.  We really appreciate the feedback!
Derrick S.
Product Manager
NI DIAdem
National Instruments
0 Kudos
Message 3 of 6
(4,139 Views)

I'm having this problem, too.  What's the solution?  Upgrade to CVI 9.0?

 

Josh

 

0 Kudos
Message 4 of 6
(3,724 Views)

Hey Josh,

 

After reporting this issue to R&D as I mentioned in my previous post, they have fixed the bug for the most recent release of the software.  You will need to upgrade in order to get this fix.

Derrick S.
Product Manager
NI DIAdem
National Instruments
0 Kudos
Message 5 of 6
(3,722 Views)
OK, thanks.
0 Kudos
Message 6 of 6
(3,720 Views)