ActiveX: How to check/update version

ActiveX: How to check/update version

Postby Colin Wisbey » Mon May 21, 2007 1: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
Colin Wisbey
 
Posts: 56
Joined: Mon Jul 03, 2006 2:34 am

Postby Antonio Linares » Mon May 21, 2007 5: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42078
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 69 guests