Search found 34 matches: registerserver

Return to advanced search

Saber si se ejecuta el .EXE en modo administrador

... Hay alguna forma en Fivewin de saber si el programa .EXE que está ejecutando lo está haciendo en modo administrador? Es por utilizar la función RegisterServer(), si no está en modo administrador no lo registra, más que nada para avisar al usuario. En caso de que no se pueda, lo que haría sería ...
by VictorCasajuana
Fri Sep 02, 2022 10:35 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber si se ejecuta el .EXE en modo administrador
Replies: 4
Views: 415

Re: Listar ocx

Prueba asi:

REGISTERSERVER( "MSVBVM60.DLL" ) --> HRESULT
by Antonio Linares
Mon Feb 01, 2016 4:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Listar ocx
Replies: 5
Views: 683

Error Harbour + Fwh 13.07 + MinGw

... more undefined referencesto `HB_FUN_FWSTRING' follow collect2: ld returned 1 exit status * Link errors * Tambien Falta REGISTERSERVER Para MinGW
by compubrion
Tue Sep 03, 2013 6:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error Harbour + Fwh 13.07 + MinGw
Replies: 0
Views: 403

Re: Codejock Calendar Samples?

RegisterServer() and UnRegisterServer() are in FWH/source/winapi/ocx.c so you should have them in your FWH

Comment out the line about the DLL, I think it is just for French language support.
by Antonio Linares
Sat May 25, 2013 10:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Codejock Calendar Samples?
Replies: 116
Views: 46493

Re: Codejock Calendar Samples?

Hi Antonio. I have an error linking on this function RegisterServer( "Codejock.Calendar.v15.0.2.ocx" ) and there is no "Calendar.ResourceFr.dll" file on any Codejock folder. I temporary deleted it and now I'm trying to build the ...
by Massimo Linossi
Sat May 25, 2013 9:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Codejock Calendar Samples?
Replies: 116
Views: 46493

Re: Codejock RibbonBar primeras pruebas

if ! IsActiveX( "Codejock.CommandBars.13.0.0.Demo" )    RegisterServer( "Codejock.CommandBars.v13.0.0.Demo.ocx" )endif Debes indicarlo sin la "v" y sin ".ocx" cuando haces la consulta con IsActivex() Si ...
by Cgallegoa
Fri May 15, 2009 11:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Codejock RibbonBar primeras pruebas
Replies: 92
Views: 27603

Re: Codejock RibbonBar primeras pruebas

el tema es que esto no funciona:: if ! IsActiveX( "Codejock.CommandBars.v13.0.0.Demo.ocx" ) RegisterServer( "Codejock.CommandBars.v13.0.0.Demo.ocx" ) endif tampoco esto:: WinExec( "REGSVR32 " + cDestino + " /s" ) como se debe registrar ...
by mantonio_08
Fri May 15, 2009 8:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Codejock RibbonBar primeras pruebas
Replies: 92
Views: 27603

Re: Register a .dll

Dear Mr.Tim, RegisterServer() is equivalent to RegSrv32 and for me it is working fine, but in Vista you need to use the option "Run as Administrator" for the RegisterServer() to work successfully. In Vista, FWH Application ...
by anserkk
Wed May 06, 2009 6:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Register a .dll
Replies: 7
Views: 1797

Re: RegisterServer( )

Anser,

Yes, you are right.

".ocx" or ".dll" should not be used, just the PROGID string :-)
by Antonio Linares
Tue Apr 28, 2009 7:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegisterServer( )
Replies: 16
Views: 3694

Re: RegisterServer( )

Dear Anser,

thanks for this usefull info. I made my tests also with XP Sp3.
by StefanHaupt
Tue Apr 28, 2009 7:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegisterServer( )
Replies: 16
Views: 3694

Re: RegisterServer( )

Dear Mr.Antonio,Mr.Stephan & Mr.Natter IsActivex() is working now as expected. I found out my mistake The Parameter to IsActivex which I used was wrong IsActivex("Codejock.CommandBars.v12.1.1.ocx") // wrong one The parameter should be IsActivex("Codejock.CommandBars.12.1.1") ...
by anserkk
Tue Apr 28, 2009 7:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegisterServer( )
Replies: 16
Views: 3694

Re: RegisterServer( )

Dear Mr.Stefan,

I have tested only on Windows XP SP3. What is the OS used in your PC ?

Regards
Anser
by anserkk
Tue Apr 28, 2009 4:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegisterServer( )
Replies: 16
Views: 3694

Re: RegisterServer( )

Anser,

in my tests
Code: Select all  Expand view
IsActiveX("Codejock.CommandBars.12.1.1")
or
Code: Select all  Expand view
IsActiveX ("Codejock.CommandBarsFrame.12.1.1")

is working and returns .t. if registered. It seems, there is more than one control in the .ocx file (is that possible ? )
by StefanHaupt
Mon Apr 27, 2009 9:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegisterServer( )
Replies: 16
Views: 3694

Re: RegisterServer( )

Dear Mr.Antonio,

The question is: why the CLSID is not found for a certain PROGID ? :(


Thankyou for clearing my confusion regarding the IsActivex() :)

Regards
Anser
by anserkk
Mon Apr 27, 2009 9:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegisterServer( )
Replies: 16
Views: 3694

Re: RegisterServer( )

Anser,

I don't know why IsActivex() always returning .F. in my PC


FWH IsActiveX() checks if a CLSID exists for a given PROGID:
http://en.wikipedia.org/wiki/ProgID
if not found, then .F. is returned.

The question is: why sometimes the CLSID is not found for a certain PROGID ? :(
by Antonio Linares
Mon Apr 27, 2009 9:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegisterServer( )
Replies: 16
Views: 3694
Next

Return to advanced search