It's probably because your file is still open. If you have read your file with a io-class (asciiio, binaryio, commio) you should "null" your io-class to close the file.

________________________________

Fra: [email protected] [mailto:[EMAIL PROTECTED] På vegne af Mike Savage
Sendt: 23. marts 2006 17:46
Til: [email protected]
Emne: [development-axapta] WINAPI, MoveFile, Moving Files


What am I doing wrong?



I have a file that, when I have read it, I wish to move.  I can use
WINAPI::CopyFile and it copies it, but WINAPI::MoveFile does nothing!!



In 25 you had to do a file.finalise() but you can't call that in 30 as
it is protected.



Any clues?



Cheers



Version 3, Service Pack 4.







Mike Savage
Sense Enterprise Solutions Ltd







[Non-text portions of this message have been removed]





________________________________

YAHOO! GROUPS LINKS


     
*      Visit your group "development-axapta <http://groups.yahoo.com/group/development-axapta> " on the web.
       
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .


________________________________




[Non-text portions of this message have been removed]






YAHOO! GROUPS LINKS




Reply via email to