Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: piyush Vaishnawswami
  Where is piyush Vaishnawswami?
 Rajkot
 India
 piyush Vaishnawswami
 To: piyush Vaishnawswami
  Where is piyush Vaishnawswami?
 Rajkot
 India
 piyush Vaishnawswami
 Tags
Subject: RE: PUTFILE() function Not work on win 7!?
Thread ID: 288986 Message ID: 289077 # Views: 46 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Windows 7 and VFP
Date: Tuesday, December 28, 2010 8:58:27 AM         
   


> >
> > What part does not work?
> > It works here in Windows 7 professional.
> >
> > Mike Gagnon
> > Refox XI +(English version)
>
>
>
> Hello Mike
>
> This is my form .
>
>
>
> in button click event my code is :
>
> lcFile = GETFILE("zip","Select Zip","Selece",0,"Select Zip for Restore")
>
> In win 7 not show file selection dialog..
>
>
> same problem face in also FOXYPREVIEWER 2.00 Report Engine
> in this code :(line 3021)
>
> DO CASE
> CASE tnType = 1 && Image file
> lcFile = PUTFILE(_goHelper.GetLoc("SAVEASIMAG") + "...", lcFile, "Png;Bmp;Jpg;Gif;Tif;Emf")
> IF NOT EMPTY(lcFile) && Invalid File Name
> LOCAL loListener
> loListener = This.PreviewForm.oReport
> _goHelper.lSaved = Report2Pic(loListener, lcFile, JUSTEXT(lcFile))
> loListener = NULL
> RETURN
> ENDIF
>
> CASE tnType = 2 && PDF
> lcFile = PUTFILE(_goHelper.GetLoc("SAVEASPDF") + "...", lcFile, "Pdf")
> IF NOT _goHelper.lExtended AND NOT EMPTY(lcFile)
> This.DoMakePDFOffline(lcFile)
> RETURN
> ENDIF
>
> CASE tnType = 3 && HTML
> lcFile = PUTFILE(_goHelper.GetLoc("SAVEASHTML") + "...", lcFile, "Htm;Html")
>
> CASE tnType = 4 && RTF
> lcFile = PUTFILE(_goHelper.GetLoc("SAVEASRTF") + "...", lcFile, "Rtf;Doc")
> IF NOT _goHelper.lExtended AND NOT EMPTY(lcFile)
> This.DoMakeRTFOffline(lcFile)
> RETURN
> ENDIF
>
> CASE tnType = 5 && XLS
> lcFile = PUTFILE(_goHelper.GetLoc("SAVEASXLS") + "...", lcFile, "Xls;Xml")
> IF NOT _goHelper.lExtended AND NOT EMPTY(lcFile)
> This.DoMakeXLSOffline(lcFile)
> RETURN
> ENDIF
>
>
> CASE tnType = 6 && TXT
> lcFile = PUTFILE(_goHelper.GetLoc("SAVEASTXT") + "...", lcFile, "Txt;Csv;Xl5")
> OTHERWISE
> ENDCASE
>
>
> nothing to display in win 7 ......
>
> Regards,
> Piyush

Hello Expert,

please give me some solution. i m in big trouble with this......

regards,
Piyush

ENTIRE THREAD

PUTFILE() function Not work on win 7!? Posted by piyuhsh vaishnavswami @ 12/27/2010 3:31:18 PM
RE: PUTFILE() function Not work on win 7!? Posted by Mike Gagnon @ 12/27/2010 5:22:57 PM
RE: PUTFILE() function Not work on win 7!? Posted by piyuhsh vaishnavswami @ 12/28/2010 6:18:35 AM
RE: PUTFILE() function Not work on win 7!? Posted by piyush Vaishnawswami @ 12/28/2010 8:58:27 AM
RE: PUTFILE() function Not work on win 7!? Posted by Stefan Wuebbe @ 12/28/2010 10:18:32 AM
RE: PUTFILE() function Not work on win 7!? Posted by piyush Vaishnawswami @ 12/28/2010 10:32:46 AM
RE: PUTFILE() function Not work on win 7!? Posted by Samir H. @ 12/28/2010 10:37:23 AM
RE: PUTFILE() function Not work on win 7!? Posted by piyush Vaishnawswami @ 12/28/2010 10:39:57 AM
RE: PUTFILE() function Not work on win 7!? Posted by Samir H. @ 12/28/2010 10:46:40 AM
RE: PUTFILE() function Not work on win 7!? Posted by piyush Vaishnawswami @ 12/28/2010 10:48:38 AM
RE: PUTFILE() function Not work on win 7!? Posted by Stefan Wuebbe @ 12/28/2010 10:41:57 AM
RE: PUTFILE() function Not work on win 7!? Posted by piyush Vaishnawswami @ 12/28/2010 10:44:54 AM
RE: PUTFILE() function Not work on win 7!? Posted by Stefan Wuebbe @ 12/28/2010 11:49:48 AM
RE: PUTFILE() function Not work on win 7!? Posted by Timo Zuidema @ 1/6/2011 4:33:24 PM
RE: PUTFILE() function Not work on win 7!? Posted by Ony Too @ 12/28/2010 10:07:08 AM
RE: PUTFILE() function Not work on win 7!? Posted by piyush Vaishnawswami @ 12/28/2010 10:17:46 AM
RE: PUTFILE() function Not work on win 7!? Posted by Mike Gagnon @ 12/28/2010 1:44:53 PM
RE: PUTFILE() function Not work on win 7!? Posted by piyush Vaishnawswami @ 12/28/2010 3:00:48 PM
RE: PUTFILE() function Not work on win 7!? Posted by Mike Gagnon @ 12/29/2010 1:32:52 PM
RE: PUTFILE() function Not work on win 7!? Posted by piyush Vaishnawswami @ 12/29/2010 1:42:41 PM
RE: PUTFILE() function Not work on win 7!? Posted by Mike Gagnon @ 12/29/2010 6:02:17 PM