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
Printable View
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
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
Thank you. Looking forward for more help from your side. :bigyello: