J jerryT Unregistered / Unconfirmed GUEST, unregistred user! 2003-04-18 #1 1:谁能用一实例介绍TNMSTRM的POSTIT方法(就是该方法是如何定义的?)?本人想研习一下。 2:如何实现在局域网内一台机子向另两台传送一个文件?举一例子。
L LeeChange Unregistered / Unconfirmed GUEST, unregistred user! 2003-04-18 #2 procedure TForm1.PostFile(const FileName: string); var FileStream: TFileStream; begin FileStream:=TFileStream.Create(FileName, fmOpenRead); try NMStrm1.PostIt(FileStream) finally FileStream.Free end end;
procedure TForm1.PostFile(const FileName: string); var FileStream: TFileStream; begin FileStream:=TFileStream.Create(FileName, fmOpenRead); try NMStrm1.PostIt(FileStream) finally FileStream.Free end end;