It seems to me its almost like its a permissons thing, but I can see how it is considering its the same ece etc.
Jeremy
-------- Original Message --------
Subject: Re: [DUG] This is perplexing !
From: Rohit Gupta <[EMAIL PROTECTED].nz>
Date: Tue, July 15, 2008 11:35 am
To: NZ Borland Developers Group - Delphi List <[EMAIL PROTECTED].nz>
Nothing to do with current directory ??
[EMAIL PROTECTED] wrote:Hi All.
I have an interesting problem.
I currently have a Windows MDI APP.
My app needs to moves some files from one folder to another on a Linux box, and it does this via a SAMBA network share.
So, on the main form of my app. I have a button, and when I click onthe button, it moves the files from one folder to another (including sub folders) via a looping routine.
IF however I call the same function from from the MDI child, it doesnt work as expected, and removes the files from the source directory, but doesnt put them into the dest. folder.
If I loop thru my file move looping function (which uses TSearchRec) it doesnt seem to see the files, only the folders!
If I click the button on the main form, suddenly it sees the folders !
I was hoping someone might be able to help me out with what the hell is going on !
Jeremy
__________ Information from ESET NOD32 Antivirus, version of virus signature database 3266 (20080714) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe__________ Information from ESET NOD32 Antivirus, version of virus signature database 3266 (20080714) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
--
Rohit GuptaB.E. Elec. M.E. Mem IEEE Associate IEETechnical ManagerComputer Fanatics LimitedTel +64 9 4892280Fax +64 9 4892290This email and any attachments contain information, which is confidential and may be subject to legal privilege and copyright. If you are not the intended recipient, you must not use, distribute or copy this email or attachments. If you have received this in error, please notify us immediately by return email and then delete this email and any attachments.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request@delphi.org.nz with Subject: unsubscribe
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
