Search found 63 matches: nstatus

Return to advanced search

Re: ReadComm( )

... Com1 Error: " + Str( nError ) ) EndIf EnableCommNotification( nCOMM, oWND1TRX:hWnd, 1, -1 ) ... // oWND1TRX:bCommNotify := {| nCOMM,nSTATUS| ODBIERZ1(nCOMM,nSTATUS)} // ... ACTIVATE WINDOW oWND1TRX ; VALID(ZAMKNIJ1()) ; ON INIT (EnableCommNotification( pCOMM1, oWND1TRX:hWnd, 1, -1 ...
by Robert Frank
Fri Oct 22, 2010 9:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ReadComm( )
Replies: 4
Views: 1886

Re: Capturar numero telefonico con fivewin

... SHARED GO TOP DEFINE WINDOW oDLG TITLE "Central Telefonica." FROM 5,5 TO 450,320; COLOR CLR_BLACK,CLR_CEL oDLG:bCommNotify = { | nComm, nStatus | BytesAtPort( nComm, nStatus ) } @1,1 BROWSE OBRW ; ALIAS "TELEFONO"; COLOR CLR_BLACK,CLR_CEL; SIZE 975,600 ; ON DBLCLICK ASUMIR(@obrw); ...
by Erick Almanza
Tue Oct 19, 2010 2:57 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Capturar numero telefonico con fivewin
Replies: 12
Views: 4857

Re: need tcrw.prg for 32 bit

... ) ENDIF RETURN hWnd // ========================================================================== // Method TCrw::PEGetGetJobStatus() -> nStatus // // Evaluates the status of a print job. You can use this method in a // number of programming situations, for example: // - to trigger error ...
by jll-fwh
Sun Feb 14, 2010 3:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: need tcrw.prg for 32 bit
Replies: 1
Views: 1320

Re: TAPI

... so, how do you "listen" for the phone? Do you have to poll a port or could you do something similar to: oDlg:bCommNotify := { | nComm, nStatus | get_card( nComm, nStatus ), EnableCommNotification( nComm, oDlg:hWnd, 1, -1 ) } Many Thanks Pete
by PeterHarmes
Wed Sep 30, 2009 10:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TAPI
Replies: 14
Views: 3238

Dll calls, where is my mistake ?

... - invalid device handle. Is possible that I make mistake in DLL Functions declaration ? If I call this function in this way HB_FUNC(OPEN_RFID) { nStatus=RFID_Open(&hReader); if(nStatus == RFID_SUCCESS) { } hb_retnl( (LONG) hReader ); } is work fine. Best regards Andrej
by xVar
Wed Jun 03, 2009 9:35 am
 
Forum: FiveWin for Pocket PC
Topic: Dll calls, where is my mistake ?
Replies: 1
Views: 634

Re: Printers

Hello Stefan, The sample prnstat.prg shows : Function Main() local nStatus := PrnStatus( "LPT1:" ) MsgInfo( nStatus ) return nil I had a look at printdc.c ( subdirectory /winapi ) PRNSTATUS( PARAMS ) // cPrinter or cPrinterServer --> nStatus ...
by ukoenig
Tue Jun 02, 2009 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printers
Replies: 11
Views: 2144

... := { || oWndMdi:SetMsg( "Connected" ) } oOutMail:bDone := { || oWndMdi:SetMsg( "Message sent successfully" ) } oOutMail:bFailure := { || oOutMail:nStatus := 7 } oOutMail:SendMail( cFROM,; // From { cTO },; //, cPMOEMAIL, cSPOEMAIL },; // To cMESSAGE,; // Msg Text cSUBJECT,; {"C:\DBTMP\PROJINFO.BAT"},; ...
by Rick Lipkin
Mon Dec 08, 2008 7:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsmtp ( again )
Replies: 3
Views: 1437

Tsmtp ( again )

... := { || oWndMdi:SetMsg( "Connected" ) } oOutMail:bDone := { || oWndMdi:SetMsg( "Message sent successfully" ) } oOutMail:bFailure := { || oOutMail:nStatus := 7 } oOutMail:SendMail( cFROM,; // From { cTO },; //, cPMOEMAIL, cSPOEMAIL },; // To cMESSAGE,; // Msg Text cSUBJECT,; {"C:\DBTMP\PROJINFO.BAT"},; ...
by Rick Lipkin
Mon Dec 08, 2008 6:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsmtp ( again )
Replies: 3
Views: 1437

Esto lo he sacado de un ost de este foro: function IsPrint( QuePrinter ) LOCAL nStatus DEFAULT QuePrinter := "LPT1:" nStatus := PrnStatus( QuePrinter ) if nStatus < 1 ; return "Impressora OK" elseif nStatus = 1 ; return "Impressora Pausada" elseif nStatus = ...
by karinha
Wed Nov 12, 2008 11:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: comprobar si una impresora está fuera de línea o en línea
Replies: 6
Views: 1488

Esto lo he sacado de un ost de este foro: function IsPrint( QuePrinter ) LOCAL nStatus DEFAULT QuePrinter := "LPT1:" nStatus := PrnStatus( QuePrinter ) if nStatus < 1 ; return "Impressora OK" elseif nStatus = 1 ; return "Impressora Pausada" elseif nStatus = ...
by antolin
Wed Nov 12, 2008 7:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: comprobar si una impresora está fuera de línea o en línea
Replies: 6
Views: 1488

... Thankyou for the solution, but did not serve the purpose As per the function I am getting a return Value 0, eventhough the printer is switched off nStatus := PrnStatus( QuePrinter ) if nStatus < 1 ; return "Printer OK" // ie Impressora OK I expect nStatus value to be 128 ...
by anserkk
Fri Nov 07, 2008 5:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help: check whether a printer is offline or online
Replies: 14
Views: 4355

... syntactical error where 7 is ST_QUIT Your suggestion : oOutMail:bFailure := { || LogFile( "mail.log", {oOutMail:aTo:[1] + " Failed"}), oOutMail:nStatus := ST_QUIT } Trying to get it to work .. unfortunitly the LogFile fires everytime good or bad ?? If logfile() is getting called every time, ...
by James Bott
Mon Oct 06, 2008 1:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trapping SMTP e-mail error
Replies: 43
Views: 7699

... syntactical error where 7 is ST_QUIT Your suggestion : oOutMail:bFailure := { || LogFile( "mail.log", {oOutMail:aTo:[1] + " Failed"}), oOutMail:nStatus := ST_QUIT } Trying to get it to work .. unfortunitly the LogFile fires everytime good or bad ?? What am I missing here ?? Rick oOutMail:bFailure ...
by Rick Lipkin
Sun Oct 05, 2008 11:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trapping SMTP e-mail error
Replies: 43
Views: 7699

Rick,

Try something like this:

oOutMail:bFailure := { || LogFile( "mail.log", {oOutMail:aTo:[1] + " Failed"}), oOutMail:nStatus := ST_QUIT }

Regards,
James
by James Bott
Sat Oct 04, 2008 7:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trapping SMTP e-mail error
Replies: 43
Views: 7699

Antonio oOutMail:bFailure := { || oOutMail:nStatus := 7 } is what I inserted .. st_quit was defined in tsmpt as 7 and I got a run time of this ( unfortunitly ) :( Rick Application =========== Path and name: C:\FOX\PMOSQL\PmoW32.Exe ...
by Rick Lipkin
Fri Oct 03, 2008 6:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trapping SMTP e-mail error
Replies: 43
Views: 7699
PreviousNext

Return to advanced search