从Servers页中拖一个PowerPointApplication,然后再uses中加上office2000,写下列代码:procedure TForm1.Button4Click(Sender: TObject);
begin
PowerPointApplication1.Connect;
PowerPointApplication1.Visible := msoTrue;
end;
begin
PowerPointApplication1.Connect;
PowerPointApplication1.Visible := msoTrue;
end;
解决方案 »
- fastreport 我使用了memo控件,他的字体来源来源于parentfont:=true;,当运行时候,就只能显示一半字符串了
- 请问如何将WORD的保存和另存功能菜单屏蔽?
- 有誰知道在FasrReport中怎樣得到當前行中某一列的值,類似Line這樣的函數或是程式代碼?
- 酷难!!我现在实现了能拖放文件到listview,并且当拖放完成时,能获取当前鼠标下的item,可问题是当鼠标拖拽着文件浮动于listview上时,我
- 高手指点:关于数据库结转问题。急!!!!!!!!
- 字符串查找问题!
- 要实现甘特图的基本功能,应该如何下手啊?~~~~~
- 关于oracle sql语句的外连接...
- DevExpress的皮肤功能在dll窗体中没有效果问题(急)
- 怎样用Delphi程序把OCX文件注册到系统中去
- 谁做过协议测试,有什么感觉???
- 我设置了一个COMBOBOX的控件,功能是随着下拉框的变化STRINGGID随着变化。可是有个问题!请教了
Uses Shellapi
ShellExcute(PChar('winword.exe'),nil,nil,sw_Normal,0);
[Error] Unit1.pas(30): Incompatible types: 'HWND' and 'PChar'
[Error] Unit1.pas(30): Incompatible types: 'Integer' and 'PChar'
到底要怎么做呢?用WORD application 控件怎么做呢?