Search found 28 matches

by lorenzoazz
Sun Oct 11, 2020 3:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to get http response text
Replies: 18
Views: 1757

Re: How to get http response text

Prova questo esempio: #include "Fivewin.ch" FUNCTION MAIN()     LOCAL cUrl := "https://www.nonsolocap.it/cap?k=calori&b=&c=bologna"     LOCAL cRes := GETURL( cUrl )     MEMOWRIT( "Response_Test.htm", cRes, .F. )     RETURN NIL #command IF <condition> THEN <*sta...
by lorenzoazz
Sun Oct 11, 2020 9:31 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to get http response text
Replies: 18
Views: 1757

Re: How to get http response text

Che versione di Windows stai usando? Dall'errore sembra che la DLL relativa al componente non supporti quella proprietà, cosa che mi sembra assurda. E comunque la prova dell'EXE può essere utile per avere qualche indizio in più. EMG uso windows 10 ok inviami l'exe per provare via mail a lorenzoazzo...
by lorenzoazz
Sun Oct 11, 2020 5:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to get http response text
Replies: 18
Views: 1757

Re: How to get http response text

No, non credo. Vuoi che ti mandi il mio EXE così lo provi da te? Se sì, mandami un indirizzo email che accetti gli EXE. EMG Grazie Enrico ma io devo capire il motivo dell'errore per poter programmare la logica successiva, in realtà poi dovrei creare un DOM e poi cercare tra i nodi del documento htm...
by lorenzoazz
Sun Oct 11, 2020 5:21 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to get http response text
Replies: 18
Views: 1757

Re: How to get http response text

#Include "FiveWin.ch" #Include "Fileio.ch" #ifdef __XHARBOUR__  // xHarbour    #include "tip.ch" #endif FUNCTION http( therequest )    LOCAL oHttp, cResp    DEFAULT therequest := "https://www.nonsolocap.it/cap?k=calori&b=&c=bologna"    /*    Try      ...
by lorenzoazz
Sat Oct 10, 2020 1:45 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to get http response text
Replies: 18
Views: 1757

Re: How to get http response text

Your sample works fine here. EMG Non funziona , l'errore è causato da ohttp:responsebody che sembra non essere accessibile e comunque non ritorna nessuna stringa (credo sia null) Prima non ho errori ! Lorenzo Qui funziona regolarmente e ohttp:responsebody contiene la pagina web di risposta. EMG For...
by lorenzoazz
Sat Oct 10, 2020 1:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to get http response text
Replies: 18
Views: 1757

Re: How to get http response text

#Include "FiveWin.ch" #Include "Fileio.ch" #ifdef __XHARBOUR__  // xHarbour    #include "tip.ch" #endif FUNCTION http( therequest )    LOCAL oHttp, cResp    DEFAULT therequest := "https://www.nonsolocap.it/cap?k=calori&b=&c=bologna"    /*    Try      ...
by lorenzoazz
Sat Oct 10, 2020 1:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to get http response text
Replies: 18
Views: 1757

Re: How to get http response text

Enrico Maria Giordano wrote:Your sample works fine here.

EMG
Non funziona , l'errore è causato da ohttp:responsebody che sembra non essere accessibile e comunque non ritorna nessuna stringa (credo sia null)
Prima non ho errori !
Lorenzo
by lorenzoazz
Sat Oct 10, 2020 12:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to get http response text
Replies: 18
Views: 1757

Re: How to get http response text

I tried the example posted but i still get the same error, the problem rises when i call ohttp:responsebody


(seems that ohttp:responsebody is null)
by lorenzoazz
Sat Oct 10, 2020 8:32 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to get http response text
Replies: 18
Views: 1757

How to get http response text

Hi, i am fivewin/xharbour programmer and i am trying to capture the response from an http request ( i need to send an address and obtain the POSTAL ITALIAN CODE). I tried this Function http(therequest) Local oHttp default therequest:= "https://www.nonsolocap.it/cap?k=calori&b=&c=bologna...
by lorenzoazz
Fri Oct 09, 2020 2:11 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Peticion por URL
Replies: 4
Views: 1933

Re: Peticion por URL

Hi, i am fivewin/xharbour programmer and i am trying to capture the response from an http request ( i need to send an address and obtain the POSTAL ITALIAN CODE). I tried this Function http(therequest) Local oHttp default therequest:= "https://www.nonsolocap.it/cap?k=calori&b=&c=bologna...
by lorenzoazz
Sun Aug 04, 2019 6:42 pm
Forum: FiveWin for Harbour/xHarbour
Topic: unresolved external hb_fun_atokens
Replies: 1
Views: 351

unresolved external hb_fun_atokens

i am going mad! With other compiling and building project with the same build.bat all goes OKEY, and with this new one project ( same build.bat) i have always this UNRESOLVED external hb_fun_atokens I use the function for regex utility, the same as in other project!!!! Hoping someone can help me! Th...
by lorenzoazz
Mon Jan 18, 2016 10:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: dbf at Microsoft OneDrive
Replies: 8
Views: 2191

Re: dbf at Microsoft OneDrive

I was trying to use a fivewin program of my own on the web by mapping it as a network drive with noooo luck. Finally (in windows 10) i decide to try to use onedrive without mapping any drive but, simply using the c:\pathtoLocalOnedrive\myexe.exe And booom, it works like a charm. You may also use it ...
by lorenzoazz
Wed Nov 11, 2015 2:06 am
Forum: FiveWin for Harbour/xHarbour
Topic: fivewin/Harbour encrypt decrypt function in c#
Replies: 17
Views: 4844

Re: fivewin/Harbour encrypt decrypt function in c#

So, i registered with c:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm fivenet.dll /tlb and also (as i work with 4 framework) with C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm fivenet.dll /tlb but it works only if i register with version 2, c:\Windows\Microsoft.NET\Framework\v2.0.50727\r...
by lorenzoazz
Tue Nov 10, 2015 10:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: fivewin/Harbour encrypt decrypt function in c#
Replies: 17
Views: 4844

Re: fivewin/Harbour encrypt decrypt function in c#

No, Antonio, tutor01.exe (that should be ....a simple message to show) / FiveNet - simple message function Main()    MsgInfo( "Welcome to FiveNet" )     return nil does nothinìg if i run directly on my windows 10 pc. It runs and exit without showing any message. ---------------------------...
by lorenzoazz
Sat Nov 07, 2015 4:32 pm
Forum: FiveWin for Harbour/xHarbour
Topic: fivewin/Harbour encrypt decrypt function in c#
Replies: 17
Views: 4844

Re: fivewin/Harbour encrypt decrypt function in c#

Antonio, answering to you first question, if i can run tutor01.exe directly (by double-clicking on it): Not, or anyway i cannot see any messagebox appearing, nor any error! And, by the way, how can i run tutor01.exe from c# web application if not by running it as an externalk process? There is anoth...