Search found 33 matches: getdata

Return to advanced search

browse information

... which I access through port 81 in TwebServer() I need to get all the information from the browse, the same way it's done in tSocket.prg via ::GetData() Is there any function I can use in mod_harbour, below the prg I'm creating /*========================================================================  ...
by Ari
Thu Mar 02, 2023 2:49 pm
 
Forum: mod_harbour
Topic: browse information
Replies: 1
Views: 341

Re: XBrowse 16.04 : bPaintHeader, bPaintFooter, bPaintRow

... show the summation of a given year or month. I don't know if I was very specific. I'm waiting. In the above example, change the function GetData() with this function static function GetData()   local aData    := {}   local a, n   local ...
by nageswaragunupudi
Fri Sep 21, 2018 1:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse 16.04 : bPaintHeader, bPaintFooter, bPaintRow
Replies: 15
Views: 4469

Re: XBrowse 16.04 : bPaintHeader, bPaintFooter, bPaintRow

Mr Rao, this sample is very nice !!!. I found a missing function in : static function GetData() local aData := {} local a, n local nTot := 0 for n := 1 to 15 if n % 5 == 0 a := { 1, nil, RandomText( 20, 30 ), 0, 0, 0, nTot } ... ... Is it possible to add this function ...
by ukoenig
Sat May 21, 2016 2:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse 16.04 : bPaintHeader, bPaintFooter, bPaintRow
Replies: 15
Views: 4469

Issue with TSOCKET()

... mTimer := 0 UniWinSocket := oSocketArray[nBridge]:nSocket oSocketArray[nBridge]:bRead = { | oSocket | mUniWinInput := oSocket:GetData() } // Never use a MsgInfo() here because it hangs Windows!!! oSocketArray[nBridge]:bConnect = { || mUniWinConnected := .T. } oSocketArray[nBridge]:bClose ...
by paulrogers
Tue Jan 13, 2015 11:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Issue with TSOCKET()
Replies: 3
Views: 693

TSocket Question

... that is initially set to .F. - this is set to true in bConnect, but when i try to reference it, it always returns .f. - the senddata & getdata routines all work fine. Is there a better way to detect if i'm connected? STATIC FUNCTION SocketTest     LOCAL mTimer   := 0    PRIVATE oSocket ...
by PeterHarmes
Thu Oct 04, 2012 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSocket Question
Replies: 3
Views: 808

Re: Telnet script ( probably ot )

In this way
cData := oTelnet:GetData()
you assign to cData variable the content
then you can treat it as a normal variable
by MarcoBoschi
Wed Dec 21, 2011 1:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Telnet script ( probably ot )
Replies: 3
Views: 964

Re: Ayuda con comunicacion TCP IP

... ) && Aca creo el socket, el puerto (997) deberia decirtelo el que desarrollo el server. oSocket:bRead:= { | oSocket | VerResSer(oSocket:GetData()) } && Este es el evento de lectura, aca recibe la respuesta oSocket:Connect( "192.168.0.150" ) && Esta es la ip ...
by Jorge Jaurena
Tue Dec 20, 2011 12:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con comunicacion TCP IP
Replies: 5
Views: 2875

Re: Ayuda con TSocket()

Jorge,

Revisa los ejemplos en FWH\samples sockserv.prg y sockcli.prg para que veas como se realiza la comunicación entre el cliente y el servidor.

Los datos llegan por eventos, y para que te lleguen debes hacer:

oSocket:bRead = { | oSocket | MsgInfo( oSocket:GetData() ) }
by Antonio Linares
Sat Nov 12, 2011 3:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con TSocket()
Replies: 1
Views: 417

Ayuda con TSocket()

... 997, oApp ) oSocket:Connect( "192.168.0.150", 997 ) oSocket:SendData( "r" ) /// Hasta aca apaentemente funciona. Ret :=oSocket:GetData() /// Creo que aca deberia tener la respuesta que nunca llega. Si alguien me puede orientar, desde ya muchas gracas. Jorge Jaurena
by Jorge Jaurena
Sat Nov 12, 2011 1:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con TSocket()
Replies: 1
Views: 417

Re: Sockets

Jeff,

No sera esta linea ?
oSocket:bRead = { | oSocket | oSocket:GetData }


Q te faltan los parentesis de funcion ?

Code: Select all  Expand view
     oSocket:bRead    = { | oSocket | oSocket:GetData()  }
by Carles
Fri Jun 10, 2011 6:35 am
 
Forum: FiveWin for Pocket PC
Topic: Sockets
Replies: 11
Views: 3847

Xbrowse and empty array

... this situation the problem is that the headers remains after setting the empty array but when I try to assign a new fill array pressing the "GetData" button then the xbrowse always displayed empty. Any solution ? Thanks in advance. #include "FiveWin.ch" #include "xbrowse.ch" ...
by Marco Turco
Thu Dec 30, 2010 8:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse and empty array
Replies: 2
Views: 569

Re: Telnet script "Solved"

... these commands and ...it works fine! ... ... oTelnet := TSocket():New( nPort ) oTelnet:Connect( cIp ) oTelnet:lDebug := .T. syswait(1) oTelnet:GetData() syswait() oTelnet:SendData( "admin" + crlf ) SysWait(1) oTelnet:GetData() SysWait() oTelnet:SendData( "admin" + crlf ) ...
by MarcoBoschi
Mon Nov 29, 2010 5:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Telnet script ( probably ot )
Replies: 3
Views: 964

Re: Dialog Question

Hmmm..

If I exit the loop all dialogs stop adjusting the values of cSat and cHR .....

Dam .... I might need a separate GetData() for each dialog.
by Jeff Barnes
Sat Nov 06, 2010 9:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dialog Question
Replies: 13
Views: 2202

Ayuda con socket - Solucionado

... function Client( oBtn1, oBtn2, oBtn3, oBtn4 ) oSocket = TSocket():New( 2000 ) oSocket:bRead = { | oSocket | MsgInfo( oSocket:GetData() ) } // Never use a MsgInfo() here because it hangs Windows!!! oSocket:bConnect = { || oBtn1:Disable(), oBtn2:Enable(), oBtn3:Enable(), oBtn4:Enable() ...
by russimicro
Sun Oct 31, 2010 4:28 pm
 
Forum: FiveWin para Pocket PC
Topic: Ayuda con socket - Solucionado
Replies: 0
Views: 646

FWH 8.10 and xBrowse (bug ?)

... it runs fine. Any ideas ? --------------------- #include "FiveWin.ch" #include "xbrowse.ch" function Main() local aNames, oBrw, oBtn, oDlg aNames:=GetData() DEFINE dialog oDlg TITLE "xBrowse tests" FROM 5,5 TO 40,40 @1,1 XBROWSE oBrw ARRAY aNames of oDlg ADD COLUMN TO XBROWSE oBrw DATA oBrw:nArrayAt(); ...
by Marco Turco
Wed Oct 22, 2008 12:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 8.10 and xBrowse (bug ?)
Replies: 7
Views: 1368
Next

Return to advanced search