FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ActiveX: How to check/update version
Posts: 56
Joined: Mon Jul 03, 2006 02:34 AM
ActiveX: How to check/update version
Posted: Mon May 21, 2007 01:25 AM

I've been using RMChart OCX successfully and a new version has just come out. Here is the pseudo code of what I want to do:-

......
If the OCX is already registered
If the OCX registered is an outdated version
Unregister the old version
Register the new version
Endif
Endif
......

Any suggestions re how I can do this? Thanks in advance.
Colin Wisbey

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
ActiveX: How to check/update version
Posted: Mon May 21, 2007 05:35 AM

Colin,

> If the OCX is already registered

if IsActiveX( <cProgID> )

> If the OCX registered is an outdated version

There should be a method to know the version. We need to know which one it is

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion