Listar ocx

Listar ocx

Postby horacio » Mon Feb 01, 2016 12:54 pm

Colegas, hay alguna manera de obtener los ocx instalados en una máquina. Desde ya muy agradecido.

Saludos
horacio
 
Posts: 1363
Joined: Wed Jun 21, 2006 12:39 am
Location: Capital Federal Argentina

Re: Listar ocx

Postby karinha » Mon Feb 01, 2016 2:18 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7804
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Listar ocx

Postby karinha » Mon Feb 01, 2016 2:25 pm

Ejiste algo asi en Fivewin for xHarbour?

Code: Select all  Expand view


*** Estou verficando a dll msvbvm60
DECLARE LONG DllRegisterServer IN [MSVBVM60.DLL]
LOCAL M.OK
M.OK=.F.
IF DllRegisterServer() = 0
    messagebox('A DLL MSVBVM60 ESTA REGISTRADa !!!')
    M.OK=.T.
ELSE
    messagebox('NÃO ESTA REGISTRADO !!!')
 Run /N  regsvr32 nomedasuaDLL.dll
ENDIF
 
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7804
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Listar ocx

Postby Antonio Linares » Mon Feb 01, 2016 4:03 pm

Prueba asi:

REGISTERSERVER( "MSVBVM60.DLL" ) --> HRESULT
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Listar ocx

Postby Antonio Linares » Mon Feb 01, 2016 4:04 pm

Code: Select all  Expand view
LOCAL M.OK
M.OK=.F.
IF RegisterServer( "MSVBVM60.DLL" ) = 0
    messagebox('A DLL MSVBVM60 ESTA REGISTRADa !!!')
    M.OK=.T.
ELSE
    messagebox('NÃO ESTA REGISTRADO !!!')
 Run /N  regsvr32 nomedasuaDLL.dll
ENDIF
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Listar ocx

Postby horacio » Mon Feb 01, 2016 9:53 pm

Muchas gracias Karinha y Antonio. Pruebo y comento.

Saludos
horacio
 
Posts: 1363
Joined: Wed Jun 21, 2006 12:39 am
Location: Capital Federal Argentina


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 64 guests