filedel and filecopy no returncode ?

Discussion in 'Questions (Windows Mobile)' started by kohle, Feb 2, 2009.

  1. kohle

    kohle Active Member Licensed User

    Is there no return code for filedel and filecopy.

    Ok I can use filexists to check but it would be easier with a return code
     
  2. Filippo

    Filippo Expert Licensed User

  3. Erel

    Erel Administrator Staff Member Licensed User

    Do you want to be sure that the file was deleted?
    When an operation fails an error is thrown. So if the flow continues normally you can assume that the operation succeeded.
     
  4. kohle

    kohle Active Member Licensed User

    need to know if the file was deleted, to do some other action
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    If the file exists before calling FileDel, it will be deleted.
    An error would be thrown if the file is locked. You can catch this error with ErrorLabel.
     
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