寻找.. [英] Finding..
本文介绍了寻找..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨..
如何查看系统中是否安装了Microsoft Office我是运行我的应用程序的
?还可以我确定办公室的版本和
单独看看是否安装了Word,Excel?
Vijay
Hi..
How do I find out if Microsoft Office is installed in the system I am
running my application?.. Also, can I determine the version of office and
individually see if Word, Excel, are installed??
Vijay
推荐答案
嗨VJ,
我想,一种方法是检查Registry.I会期望
Office有一些标准设置,但我不知道它们会是什么。
问候,
Fergus
Hi VJ,
One way, I imagine, would be to check the Registry.I would expect that
there are some standard settings for Office but I don''t know what they would
be.
Regards,
Fergus
这是一些伪代码
Dim oApp as Object'' - Word.Application
设置oApp = CreateObject(" Word.Application")
如果不是oApp什么都没有'' - 意味着安装Word
MsgBox oApp.Version
Else
MsgBox" Oops Word未安装: - ("
结束如果
" ; VJ" vi ********@yahoo.com>在留言中写道
news:u0 ************** @ TK2MSFTNGP10.phx.gbl ...
Here is some pseudo code
Dim oApp as Object ''-- Word.Application
Set oApp = CreateObject("Word.Application")
If Not oApp Is Nothing Then '' -- Means Word is Installed
MsgBox oApp.Version
Else
MsgBox "Oops Word is NOT installed :-("
End If
"VJ" <vi********@yahoo.com> wrote in message
news:u0**************@TK2MSFTNGP10.phx.gbl...
嗨..
如何查看我在运行我的应用程序的系统中是否安装了Microsoft Office?还有,我可以确定办公室的版本吗?
分别查看Word, Excel,安装了吗?
Vijay
Hi..
How do I find out if Microsoft Office is installed in the system I am
running my application?.. Also, can I determine the version of office and
individually see if Word, Excel, are installed??
Vijay
Hi Nice Chap,
大声笑,我第一次听到VB6代码叫伪。 ;-)
问候,
Fergus
Hi Nice Chap,
Lol, first time I''ve heard VB6 code called pseudo. ;-)
Regards,
Fergus
这篇关于寻找..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文