或者是
TDataSet的bachmove函数
解决方案 »
- 能否不通过webbrowser的Document对象获得MSHTML中的对象?
- 如何获得c:\docum\batc\abc.txt中的abc.txt呢?
- 请问怎么获得一个外部程序窗体的Handle?
- 刚下了个RichViewEdit,但不会用,尤其是怎么设上下标
- 编译的问题,请赐教
- 如何在一个DBGrid中显示?
- 如何控制edit中输入的只能是半角字符(意思不能有汉字或全角字母等),或向数据表中提交时判断edit中的值不能有全角字符?
- 关于TThread同步的2个问题。。。
- 如何在其它机器上安装BDE支持
- Delphi初学者问题之二
- 我做了了一个局域网五子棋对战游戏,出现了问题,源代码在此,请各位调试,校正错误!(100分!!!)
- 关于控件重画的问题
procedure TFormMain.Button1Click(Sender: TObject);
var
newfile,modalfile : TFilestream;
begin
Opendialog1.Title := '新建井';
OpenDIalog1.InitialDir := path ;
if Opendialog1.Execute then
begin
if FileExists(Opendialog1.FileName) then
ShowMessage('目标文件已经存在!');
else
begin
newfile := TFileStream.Create(Opendialog1.FileName,fmcreate);
modalfile := TFileStream.Create('模板.mdb',fmOpenRead);
newfile.CopyFrom(modalfile, modalfile.Size);
newfile.Free;
modalfile.Free;
end;
end;
end;