如何使用Office的帮助助手
编号:QA004642
建立日期: 2002年11月26日 最后修改日期:2002年11月26日
所属类别:
Redfox:
操作系统:Win
编程工具:vb或delphi
问题:我有个问题很急,所以写信向你请教!
1.是这样的,我想做一个帮助助手,发现office里的assistant有非常好的功能,我想在vb或delphi中引用它,但是在每次引用assistant对象时,都会自动创建一个office应用程序实例,但我只想引用assistant对象,而不想创建office应用程序实例。不知道能不能在Delphi或者vb中直接引用office对象,而不创建office应用程序实例,即不让windows的进程条中没有相关的进程?
2.我想知道如何做个专业的助手,主要是指助手气球中的“应答向导”和“搜索”功能?
回答:
Download a Microsoft Agent control(http://activex.microsoft.com/activex/controls/agent2/agent.asp) and create MyAgent on your form in VB. Find the path to clipit.acs or which ever character descripter file. To load the character do this:
'-- Load the new character
On Error GoTo ErrHandler
MyAgent.Characters.Load "CharacterID", FileName
此问题由James Tao回答。
| |
|
|
| |
|
|