|
|
|
date: Wed, 19 Oct 2005 14:20:45 +0300,
group: microsoft.public.vstudio.helpauthoring
back
Re: check if MS Help 2 Runtime exists
Hi,
Maybe this is not the best form, but i know.only this method.
You can check if runtime exists, creating a instance of object
"DExplore.AppObj.7" (COM Interface of dexplore.exe)
This example you can use in C#, VB.NET e VB x or other languange what
work with COM Interface
Ex:.
Dim Viewer as Object
Try
viewer = CreateObject("DExplore.AppObj.7")
Catch ex as exception
'HERE YOU CAN HANDLE THE EXCEPTION
End Try
OR
on Error Goto ExceptionHandleLabel
set Viewer = CreateObject("DExplore.AppObj.7")
ExceptionHandleLabel:
'HERE YOU CAN HANDLE THE EXCEPTION
If a error ocurred in this moment, you don't have a help 2 installed,
but if any error ocorred, you can use the viewer
You can find more information in
http://www.helpware.net/mshelp2/dexplore/dexplorer.htm
Bye,
Gustavo Terrell
Manager Project
Cel: +55 11 9603-1456
Work: +55 11 3146-6000
"Nikolay Dobrev" wrote in message
news:#qB7h8J1FHA.2064@TK2MSFTNGP09.phx.gbl...
> Hello,
>
> I want to make our installation to check if there is a valid Help 2
runtime
> installed. Does anybody know if this is possible?
>
> Thank you,
> Niky
>
>
date: Wed, 19 Oct 2005 14:30:44 -0300
author: Gustavo Terrell
Re: check if MS Help 2 Runtime exists
Thank you Gustavo, we'll take a look at this.
"Gustavo Terrell" wrote in message
news:ODh$AsM1FHA.3560@TK2MSFTNGP15.phx.gbl...
> Hi,
>
> Maybe this is not the best form, but i know.only this method.
>
> You can check if runtime exists, creating a instance of object
> "DExplore.AppObj.7" (COM Interface of dexplore.exe)
> This example you can use in C#, VB.NET e VB x or other languange what
> work with COM Interface
>
> Ex:.
>
> Dim Viewer as Object
>
> Try
>
> viewer = CreateObject("DExplore.AppObj.7")
>
> Catch ex as exception
>
> 'HERE YOU CAN HANDLE THE EXCEPTION
>
> End Try
>
> OR
>
> on Error Goto ExceptionHandleLabel
>
> set Viewer = CreateObject("DExplore.AppObj.7")
>
> ExceptionHandleLabel:
>
> 'HERE YOU CAN HANDLE THE EXCEPTION
>
>
> If a error ocurred in this moment, you don't have a help 2 installed,
> but if any error ocorred, you can use the viewer
>
> You can find more information in
> http://www.helpware.net/mshelp2/dexplore/dexplorer.htm
>
> Bye,
>
> Gustavo Terrell
> Manager Project
> Cel: +55 11 9603-1456
> Work: +55 11 3146-6000
>
> "Nikolay Dobrev" wrote in message
> news:#qB7h8J1FHA.2064@TK2MSFTNGP09.phx.gbl...
>> Hello,
>>
>> I want to make our installation to check if there is a valid Help 2
> runtime
>> installed. Does anybody know if this is possible?
>>
>> Thank you,
>> Niky
>>
>>
>
>
date: Mon, 31 Oct 2005 14:38:18 +0200
author: Nikolay Dobrev
|
|