Search found 28 matches: cprogid

Return to advanced search

Re: funciones de FWH y Harbour en un archivo .txt

... CountLeft(<cString>,[<xChar>])->nCount CountRight(<cString>,[<xChar>])->nCount CreateObject(<cProgID>)->oOleAuto Crypt(<cString>,<cPassWord>)->cResult CSetAtMuPa([<lNewMode>])->lOldMode CSetCent([<lNewMode>])->lOldMode ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5690

ActiveX problem

I have FiveWin 15.01 and xHarbour 1.2.3 Intl. (SimpLex) (Build 20151110) and I cant run any example with ActiveX.
Program hand at this point:

Activex.prg (line 77): ::hActiveX = CreateActiveX( ::hWnd, cProgID, Self )

Thanks ...
by dpesic
Wed May 11, 2016 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX problem
Replies: 5
Views: 1017

Re: Events from OLE

Antonio, I created the OLE for OPOS object using the function CreateObject as shown in the following. oOle:=CreateObject(cProgID) && <-- Create OLE here Source file: LS_OPOS.prg, line # 227 Let me know if you need more info. Thank you, Jose **************************************************Method ...
by Jose Dolar
Thu Aug 07, 2014 8:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Events from OLE
Replies: 19
Views: 3256

Re: How to receive events from objects?

Jose, You don't have to include those files in your app. Here you can read about cIID: cIID Specifies the Interface ID GUID of cCLSID | cPROGID when you create an early bound instance of the class. If you pass an empty string as cIID Visual FoxPro attempts to access the default interface (IID) ...
by Antonio Linares
Tue Jun 17, 2014 5:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to receive events from objects?
Replies: 32
Views: 8943

Re: How to receive events from objects?

... A new syntax? Looks like an array.. Anyway I tried both as shown below and still resulted to the same error Thanks, Jose Method Instantiate_Device(cProgID) class OPOSHardwareInterface local oOle:='',n,cIID ::lDeviceInstantiated:=.f. oOle:=CreateObject(cProgID) if valtype(oOle)='O' ::lDeviceInstantiated:=.t. ...
by Jose Dolar
Tue Jun 17, 2014 2:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to receive events from objects?
Replies: 32
Views: 8943

Re: How to receive events from objects?

Antonio,

What is cIID?

If cIID is the ole program ID (cProgID in my code) then I tried that and my up terminated.

error: WINOLE/1014 Failed to obtain connection point: __AXREGISTERHANDLER Args: (P:0x473A43C) (B:{|| ... }) (C:OPOS.POSPrinter)

Thanks,

Jose
by Jose Dolar
Mon Jun 16, 2014 7:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to receive events from objects?
Replies: 32
Views: 8943

Re: How to receive events from objects?

... WINOLE/1014 Failed to obtain connection point: __AXREGISTERHANDLER Args: (P:0x484EA9C) (B:{|| ... }) Thanks, Jose Method Instantiate_Device(cProgID) class OPOSHardwareInterface local oOle:='',n ::lDeviceInstantiated:=.f. oOle:=CreateObject(cProgID) if valtype(oOle)='O' ::lDeviceInstantiated:=.t. ...
by Jose Dolar
Mon Jun 16, 2014 8:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to receive events from objects?
Replies: 32
Views: 8943

Re: How to receive events from objects?

Antonio,

The topic was posted sometime in 2008. :)

Sounds great that it is there, but I'm getting a link error :(.

What is the library file and where to get the MyInclude.ch?

BTW I used it this way: oOle:=OleWEvent():New(cProgId)

Regards, Saludos

Jose
by Jose Dolar
Mon Jun 16, 2014 6:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to receive events from objects?
Replies: 32
Views: 8943

Re: ayuda con tactivex

... cierra al crear el objeto del activex puse unas banderas a la tactivex para monitore y solo llega al pasa 2 te anexo el codigo. METHOD New( oWnd, cProgID, nRow, nCol, nWidth, nHeight ) CLASS TActiveX DEFAULT oWnd := GetWndDefault(), nRow := 0, nCol := 0, nWidth := 200,; nHeight := 200 ::nTop = ...
by GuillermoMtz
Thu Aug 29, 2013 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con tactivex
Replies: 4
Views: 1056

Re: How to set ActiveX property?

... But I am using FWH9.01, how to do these settings? In addition, I know there are different ways to use ActiveX: 1. TActiveX():New( oWnd, cProgID, nTop, nLeft, nBottom, nRight ) 2. CreateObject( cProgID ) 3. TOLEAuto():New( cProgID ) What are differences between these ways? If use CreateObject() ...
by Max HK
Tue Oct 20, 2009 3:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to set ActiveX property?
Replies: 8
Views: 1193

Re: C++ ( To Antonio )

Lailton...
Change...

If ( ::hWnd := OLECREATEWIN( oWin, cProgId, nLeft, nTop, nWidth, nHeight) ) > 0

for If ( ::hWnd := OLECREATEWIN( oWin, cProgId, nLeft, nTop, nWidth, nHeight) ) != 0
by Daniel Garcia-Gil
Sat Jul 25, 2009 6:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Language C ( To Antonio )
Replies: 17
Views: 2814

Language C ( To Antonio )

... hWndCtrl; LoadAtl(); hWndCtrl = CreateWindowEx( (DWORD) 0 , // nExStyle (LPCTSTR) "AtlAxWin" , // cClsName (LPCTSTR) hb_parc( 1 ) , // cProgId (DWORD) WS_OVERLAPPEDWINDOW , // style CW_USEDEFAULT , // nLeft CW_USEDEFAULT , // nTop 0 , // nWidth 0 , // nHeight HWND_DESKTOP , // oParent:handle ...
by lailton.webmaster
Sat Jul 25, 2009 2:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Language C ( To Antonio )
Replies: 17
Views: 2814

Re: cActiveX ( To antonio )

... hWndCtrl; LoadAtl(); hWndCtrl = CreateWindowEx( (DWORD) 0 , // nExStyle (LPCTSTR) "AtlAxWin" , // cClsName (LPCTSTR) hb_parc( 1 ) , // cProgId (DWORD) WS_OVERLAPPEDWINDOW , // style CW_USEDEFAULT , // nLeft CW_USEDEFAULT , // nTop 0 , // nWidth 0 , // nHeight HWND_DESKTOP , // oParent:handle ...
by lailton.webmaster
Mon Jul 20, 2009 11:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cActiveX ( To antonio )
Replies: 11
Views: 4211

cActiveX ( To antonio )

... hWndCtrl; LoadAtl(); hWndCtrl = CreateWindowEx( (DWORD) 0 , // nExStyle (LPCTSTR) "AtlAxWin" , // cClsName (LPCTSTR) hb_parc( 1 ) , // cProgId (DWORD) WS_OVERLAPPEDWINDOW , // style CW_USEDEFAULT , // nLeft CW_USEDEFAULT , // nTop 0 , // nWidth 0 , // nHeight HWND_DESKTOP , // oParent:handle ...
by lailton.webmaster
Mon Jul 20, 2009 8:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cActiveX ( To antonio )
Replies: 11
Views: 4211

Re: TOleAuto/CreateObject en FWPPC

JM,

Tenemos CreateObject( cProgId ) en Harbour para el Pocket PC y FWPPC, asi como soporte completo de la Clase TOleAuto y tambien TActiveX :-)

Lo que no sabemos es que cProgId hay que usar. Es lo que tenemos que descubrir.
by Antonio Linares
Sun Apr 19, 2009 5:57 pm
 
Forum: FiveWin para Pocket PC
Topic: TOleAuto/CreateObject en FWPPC
Replies: 10
Views: 1401
Next

Return to advanced search

cron