Codes Unable to run no VISTA

Discussion in 'Questions (Windows Mobile)' started by tcgoh, Aug 19, 2008.

  1. tcgoh

    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
     
  2. Erel

    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).
     
  3. tcgoh

    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
     
  4. Erel

    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.
     
  5. tcgoh

    tcgoh Active Member Licensed User

    OK Thanks.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice