tcgoh Active Member Licensed User Longtime User Aug 19, 2008 #1 Hi Erel, I am unable to run these codes on windows Vista, however they are running nicely on XP. Could you help to find out what's wrong? opendialog1.File = AppPath & "\test1.sl3" openDialog1.Filter = "sl3 DATA Files|*.sl3" SaveDialog1.File = OpenDialog1.File If SaveDialog1.Show = cCancel Then Return End If FileCopy(OpenDialog1.File, SaveDialog1.File) appclose (Of cause test1.sl3 file must be in the folder) Thanks
Hi Erel, I am unable to run these codes on windows Vista, however they are running nicely on XP. Could you help to find out what's wrong? opendialog1.File = AppPath & "\test1.sl3" openDialog1.Filter = "sl3 DATA Files|*.sl3" SaveDialog1.File = OpenDialog1.File If SaveDialog1.Show = cCancel Then Return End If FileCopy(OpenDialog1.File, SaveDialog1.File) appclose (Of cause test1.sl3 file must be in the folder) Thanks
Erel B4X founder Staff member Licensed User Longtime User Aug 19, 2008 #2 What does the error say? Where are you trying to copy the file to? Vista, unlike XP doesn't give writing permissions for many folders (including Program Files).
What does the error say? Where are you trying to copy the file to? Vista, unlike XP doesn't give writing permissions for many folders (including Program Files).
tcgoh Active Member Licensed User Longtime User Aug 19, 2008 #3 The program hang once you click the "SAVE DATA" button with NO error msg. I'm just trying to save the file to the folder where the user sync with his PDA. eg. WM_XXX my documents Thanks
The program hang once you click the "SAVE DATA" button with NO error msg. I'm just trying to save the file to the folder where the user sync with his PDA. eg. WM_XXX my documents Thanks
Erel B4X founder Staff member Licensed User Longtime User Aug 19, 2008 #4 From the source code I see you are running Basic4ppc v5.00. This problem was fixed in one of the newer versions.
From the source code I see you are running Basic4ppc v5.00. This problem was fixed in one of the newer versions.