Codes Unable to run no VISTA

tcgoh

Active Member
Licensed User
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

Administrator
Staff member
Licensed User
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
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

Administrator
Staff member
Licensed User
From the source code I see you are running Basic4ppc v5.00. This problem was fixed in one of the newer versions.
 
Top