Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Wed, 19 Oct 2005 14:20:45 +0300,    group: microsoft.public.vstudio.helpauthoring        back       


check if MS Help 2 Runtime exists   
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:20:45 +0300   author:   Nikolay Dobrev

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   
....otherwise H2 has 2 main COM dlls you can check
http://www.mshelpwiki.com/index.php?page=Help2API
If you can connect then H2 exists
But as Gustavo says Dexplore is a valid check as well (since DExplore akways 
accompanies H2 runtime files at the present time).
Cheers
Rob


-- 

Rob Chandler
MS Help MVP
http://helpware.net/FAR/
http://mshelpwiki.com/

"Nikolay Dobrev"  wrote in message 
news:%23qB7h8J1FHA.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: Fri, 21 Oct 2005 23:08:50 +1000   author:   Rob Chandler [MVP]

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

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us