|
-
Nov 12th, 2003, 05:41 AM
#1
Thread Starter
Junior Member
Detect Office Components
Hi,
I am using developing a VB application that opens MS office components (Powerpoint, Access, Word).
Can any one tell me how to detect if office components are already installed on the local machine.
Thanks in advance
Rahman
-
Nov 12th, 2003, 05:49 AM
#2
Junior Member
Try creating something along this line:
VB Code:
Private Function Word_Installed() As Boolean
Dim oBj As Object
On Error GoTo err_Handler
Set oBj = CreateObject("Word.Application")
Set oBj = Nothing
Word_Installed = True
Exit Function
err_Handler:
Word_Installed = False
End Function
Last edited by Ghost_Inside; Nov 12th, 2003 at 06:27 AM.
-
Nov 12th, 2003, 06:12 AM
#3
Thread Starter
Junior Member
Thank you. Looking forward for more help from your side.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|