开发者

Specifying Notepad as OLE object

开发者 https://www.devze.com 2023-03-22 10:59 出处:网络
For word application, we have Word.Application as program identifier. What is the program iden开发者_如何学运维tifier for Notepad and Calculator?Word.Application is the name of the a COM object which

For word application, we have Word.Application as program identifier. What is the program iden开发者_如何学运维tifier for Notepad and Calculator?


Word.Application is the name of the a COM object which forms part of the Word API.

Notepad is a simple application which does not have a COM API. If you just wish to start an instance of notepad, then locate the notepad.exe file in %WINDIR% or %WINDIR%\System32 (for W2k8), and start it as a new process from your application.

The same applies for calc.exe.

0

精彩评论

暂无评论...
验证码 换一张
取 消