Formula one6.0文件保存的帮助如下:F1Book1.SaveFileDlg pTitle, pBuf, pFileTypepTitle string 保存文件对话框的标题,空串为默认标题
pBuf string variable,passed by reference,that receives the returned name
by which the worksheet is saved(原话)
pFileType Integer 常量整数,保存的文件类型,如11为excel根据帮助,我用delphi写了一段保存的代码:
s : string;F1Book1.SaveFileDlg('',s,11);编译的时候报错:Types of actual and formal var parameters must be identical.
请大家看看应该怎么写?
pBuf string variable,passed by reference,that receives the returned name
by which the worksheet is saved(原话)
pFileType Integer 常量整数,保存的文件类型,如11为excel根据帮助,我用delphi写了一段保存的代码:
s : string;F1Book1.SaveFileDlg('',s,11);编译的时候报错:Types of actual and formal var parameters must be identical.
请大家看看应该怎么写?
解决方案 »
- For 循环中变量i越界问题??
- 怎样才能将*.sql文件加入资源中并提取执行?
- Intraweb模版的问题
- 将两副图片放入EXE文件中怎样将两副全部读出?
- 一个关于浮点数的问题!
- 一个delphi初学者的毕业设计,遇到了很大的阻力,我从来没有搞过delphi,看了一头雾水。代为求助!高分相赠
- 怎么通过TADOStoredProc返回procedure的结果集并显示在界面上?
- 关于API函数
- 60分 三个小问题 快来那分吧 今天希望能结贴(9.29)
- 一个比较急的问题。。。。。。。。
- Dev Express为Delphi 7 做的控件从哪儿可以下载?
- 请问filelistbox,directorylistbox这两个控件在哪个选项卡里面?很着急!!!!
s:widestring;
itype:Smallint;
begin
itype:=F1FileExcel97;
F1Book61.SaveFileDlg('',s,itype);
pBuf: widestring
pFileType: Smallint