Results 1 to 3 of 3

Thread: Detect Office Components

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2003
    Location
    Del
    Posts
    29

    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

  2. #2
    Try creating something along this line:
    VB Code:
    1. Private Function Word_Installed() As Boolean
    2. Dim oBj As Object
    3.  
    4.     On Error GoTo err_Handler
    5.     Set oBj = CreateObject("Word.Application")
    6.     Set oBj = Nothing
    7.     Word_Installed = True
    8.     Exit Function
    9.    
    10. err_Handler:
    11.     Word_Installed = False
    12. End Function
    Last edited by Ghost_Inside; Nov 12th, 2003 at 06:27 AM.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Apr 2003
    Location
    Del
    Posts
    29
    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
  •  



Click Here to Expand Forum to Full Width