Search found 23 matches: oole

Return to advanced search

Re: Conversion from ca-clipper ( not found a variable)

... to be a oHttp:end() afther the END . Is this the correct logic that I need to start using then ? xHarbour ends the OLE objects automatically (ie. oOle:End()) when the variables finish its lifetime. Maybe Harbour too but I'm not sure. EMG
by Enrico Maria Giordano
Fri Mar 04, 2022 9:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4530

Coordenadas geográficas

... cStreet, cNumber, cLocality, cState) Local cWeb := "http://maps.google.es/maps/place/" local cMap local cRet := "" local oOle local nPos1 local nPos2 local aCoor := { 0, 0, 0 } local cNation:="Spain" cPostal_Code := StrTran( AllTrim( cPostal_Code ), ' ', '+' ...
by jgabri
Sun Jun 07, 2020 4:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Coordenadas geográficas
Replies: 2
Views: 693

Re: OLE Object Title

Darrell,

Thankfully, the InternetExplorer.Application COM type exposes a HWND property, which contains the handle to the window.


Try this:

SetWindowText( oOle:HWND, "This is a test" )
by Antonio Linares
Fri May 19, 2017 10:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE Object Title
Replies: 2
Views: 705

OLE Object Title

Hello Everyone, Is it possible to set the name of the window that displays Google map oOle:=CreateObject("InternetExplorer.Application") oOle:width:=675 oOle:height:=675 oOle:Visible:=.t. // Displays the Browser oOle:ToolBar:=.f. // Disables the toolbar oOle:StatusBar:=.f. ...
by cdmmaui
Wed May 17, 2017 7:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE Object Title
Replies: 2
Views: 705

Re: Plotting locations on Google Maps

... that I posted uses OLE using Internet explorer. If you inspect the code then you would notice the following line at the bottom of the sample. oOle:=CreateObject("InternetExplorer.Application") My sample basically creates a .html file. So if you know the trick to call a .html file ...
by anserkk
Tue Mar 07, 2017 1:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Plotting locations on Google Maps
Replies: 48
Views: 14467

Re: Consuming a Restful Web Service in Fivewin.

http://forums.fivetechsupport.com/viewtopic.php?f=6&t=25471&hilit=%27MSXML2.XMLHTTP%27   Try        oOle := CreateObject( 'MSXML2.XMLHTTP' )    Catch        oOle := CreateObject( 'Microsoft.XMLHTTP' )    End    oOle:Open( 'GET', "YourURL", ...
by anserkk
Wed Dec 02, 2015 6:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Consuming a Restful Web Service in Fivewin.
Replies: 3
Views: 821

Re: API Google. Ejemplos

... auth=" + AuthCode) msginfo(cResponse) Return Nil Function SendPostToUrl( cUrl, cParams,cContentType,cAuthorization ) Local oOle,cRet:='',uRet default cContentType:="application/x-www-form-urlencoded" default cAuthorization:="" Try oOle := CreateObject( ...
by jorjio
Mon Sep 21, 2015 9:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: API Google. Ejemplos
Replies: 30
Views: 9987

Re: ERROR TOLEAUTO/-1 UNKNOWN ERROR: TOLEAUTO:NEW

Joao, En vez de usar CreateObject( "InternetExplorer.Application" ) usa FWGetOleObject( "InternetExplorer.Application" ) oOle := FWGetOleObject("InternetExplorer.Application") Master estoy usando una version antigua de FWH(FWH2.7) para unos clientes que aún usam ...
by karinha
Tue Mar 17, 2015 3:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR TOLEAUTO/-1 UNKNOWN ERROR: TOLEAUTO:NEW
Replies: 6
Views: 694

Re: ERROR TOLEAUTO/-1 UNKNOWN ERROR: TOLEAUTO:NEW

Joao,

En vez de usar CreateObject( "InternetExplorer.Application" ) usa FWGetOleObject( "InternetExplorer.Application" )

oOle := FWGetOleObject("InternetExplorer.Application")
by Antonio Linares
Tue Mar 17, 2015 3:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR TOLEAUTO/-1 UNKNOWN ERROR: TOLEAUTO:NEW
Replies: 6
Views: 694

Re: API Google. Ejemplos

...  Called from: noname.prg => SENDPOSTTOURL( 55 )   Called from: noname.prg => MAIN( 10 )  Se supone que oOle:ResponseBody deve ser un array pero es una cadena.
by RenOmaS
Fri Jan 30, 2015 11:57 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: API Google. Ejemplos
Replies: 30
Views: 9987

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: 3273

Re: How to receive events from objects?

... 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. alert(valtype(oOle:__hObj)) alert('Here') ...
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: 8976

Re: How to receive events from objects?

The valtype (oOle:__hObj) is P

The value differs as shown below.

OS Error -2147220992 WINOLE/1014 Failed to obtain connection point: __AXREGISTERHANDLER Args: (P:0x2CDAD04)
OS Error -2147220992 WINOLE/1014 Failed to obtain connection point: __AXREGISTERHANDLER Args: (P:0x30DA6CC)
by Jose Dolar
Mon Jun 16, 2014 2:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to receive events from objects?
Replies: 32
Views: 8976

Re: How to receive events from objects?

Please check this value:

MsgInfo( oOle:__hObj )

and let me know it
by Antonio Linares
Mon Jun 16, 2014 8:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to receive events from objects?
Replies: 32
Views: 8976

Re: How to receive events from objects?

... 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. alert('Here') __axRegisterHandler( ...
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: 8976
Next

Return to advanced search