From: Jeremy W. <jez...@ho...> - 2008-03-07 18:37:30
|
Hi, What version of Win32::GUI and what version of Perl? Cheers, Jeremy. > From: jo...@jo... > To: per...@li... > Date: Fri, 7 Mar 2008 10:59:32 -0800 > Subject: [perl-win32-gui-users] File Save with Vista > > I have a program that uses Win32::GUI::GetSaveFileName to open a "Save As" > dialog window. In win98 and XP it works fine. With Vista the "File Name" > and "Save As Type" text fields are missing and do not appear in the dialog > window. Any ideas on how to get these to appear with Vista? Using Vista > Home Premium version. Here's my code that fails with Vista... > > # Set up directory and file name > my $file = "Untitled\0" . ' ' x 256;; > my $directory = $cnst_graphics_directory ; > > # Save as file dialog box, show files with *.txt extension, in messages > folder > $file = GUI::GetSaveFileName > ( > -owner => $window_graphics , > -title => 'Save As' , > -directory => $directory , > -filter => [ 'Text files' , '*.txt' , 'All files' , '*.*' ] , > -file => $file > ) ; > > Many thanks in advance for your help. > > John > jo...@jo... > 801 815 9265 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > http://perl-win32-gui.sourceforge.net/ _________________________________________________________________ Telly addicts unite! http://www.searchgamesbox.com/tvtown.shtml |