Search found 784 matches: catch

Return to advanced search

Re: xBrowse: A Vision for a Simpler, More Flexible Future

... and days to improve TXBrowse. I can only say "hat off" to Mr. Rao for sharing all that hard work with us. We may need years simply to catch the existing functionality that he has introduced in such great piece of code.
by Antonio Linares
Wed Nov 06, 2024 2:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: A Vision for a Simpler, More Flexible Future
Replies: 5
Views: 237

Re: RDS (Remote Desktop) and FW programming

Hello friends, I am always amazed at how long it takes for an idea to catch on. Look at the date of the posting. Over 12 years ago, I already praised the RDP solution as the best for Fivewin applications. It is also the best step to prepare for the web. Best ...
by Otto
Thu Oct 31, 2024 10:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RDS (Remote Desktop) and FW programming
Replies: 10
Views: 424

Re: Preview of the invoice in advance

... => response.text()).then(result => {' + CRLF cText += ' alert("Invoice sent successfully!");' + CRLF cText += ' }).catch(error => console.error("Error:", error));' + CRLF cText += '}' + CRLF cText += '</script>' + CRLF cText += '</body>' ...
by Otto
Thu Oct 24, 2024 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preview of the invoice in advance
Replies: 14
Views: 700

Re: Usar dos monitores, mostrar cosas diferentes

... try nNroPan := VAL(getCampoRS("CAJ","cPreSerCaj",NIL)) if nNroPan == 0 nNroPan := 2 endif catch nNroPan := 2 end FOR J := 1 TO LEN(aPanWin) IF !( aPanWin[J]:LPRIMARY ) nAltPan := aPanWin[J]:NHEIGHT nAncPan := aPanWin[J]:NWIDTH ENDIF NEXT ...
by russimicro
Tue Oct 08, 2024 11:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Usar dos monitores, mostrar cosas diferentes
Replies: 8
Views: 503

Capturar error clase curl

... "+cBas64 )            TRY                ohttp:Send( ::cdnaJson )                response :=  ohttp:responseText            CATCH oError                cError := "Error: " + cValToChar( oError:GenCode) + ;                        " SubC: " + cValToChar( ...
by leandro
Thu Sep 26, 2024 7:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Capturar error clase curl
Replies: 3
Views: 273

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Keep in mind that all is working fine using MSC64, so the problem can't be something related to 64 bit handling. And moreover, I can't trap the crash because the call to hb_vmSend( 0 ) crashes che program and never returns. And I cannot use try/catch, we are using C not C++ in this module.
by Enrico Maria Giordano
Thu Sep 26, 2024 1:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug Maria_Connect() FWH-24.07 64 bits ???
Replies: 37
Views: 1393

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

... function and handle exceptions locally, so they don't propagate and crash the entire program. You can use structured exception handling (`try/catch`) or equivalent mechanisms in your environment to catch and handle failures gracefully. ### 7. **Check Compatibility with 64-bit Stack Size** ...
by nnicanor
Wed Sep 25, 2024 2:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug Maria_Connect() FWH-24.07 64 bits ???
Replies: 37
Views: 1393

Re: OLE Errors

... // Same functionality of VBA's GetObject() Local oOutlook := nil Try oOutlook := GetActiveObject("Outlook.Application") Catch oOutlook := CreateObject("Outlook.Application") End Return oOutlook My question is why is outlook not available, if this doesn't work, ...
by byron.hopp
Fri Aug 16, 2024 4:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE Errors
Replies: 10
Views: 1807

Re: Timeout to close App

hi, 1. Make a TIMER 2. Make your own Handleevent() method and catch the mouse movement event in it (the TIMER is reset) YES, that seems to work using GetInputState(), but how to Reset Result of GetInputState() :?: FUNCTION MainLocal nIdleTimeToClose := ...
by Jimmy
Fri Aug 09, 2024 4:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Timeout to close App
Replies: 16
Views: 2896

Re: Timeout to close App

Probably, you can do this
1. Make a TIMER
2. Make your own Handleevent() method and catch the mouse movement event in it (the TIMER is reset)
by Natter
Thu Aug 08, 2024 7:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Timeout to close App
Replies: 16
Views: 2896

Re: Windows causes FWH crash: msxml3.dll update

... thinking about making the change ... For now I wanted to trap the error, so I put the Open() and next steps into a TRY, and if I get an error, the Catch has an error message but returns a NIL value. Of course, the company I was interfacing with made some changes on their end and it started working ...
by TimStone
Fri May 31, 2024 2:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows causes FWH crash: msxml3.dll update
Replies: 2
Views: 457

Re: send an email using the Outlook object

... //$mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; $mail->send(); echo "Send Successfully!"; } catch (Exception $e) { echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}"; } }
by Silvio.Falconi
Tue May 14, 2024 7:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: send an email using the Outlook object
Replies: 5
Views: 733

Re: New FTDN April 2024 (FWH 24.04)

... el tamaño de las columnas para ajustar el contenido. * FWMariaRowSet: - Método ToExcel(): (1) Adjuntado: Paneles congelados en el bloque TRY/CATCH para evitar errores de tiempo de ejecución en algunas instalaciones.. (2) Los valores de Fecha y Hora se exportan como datos de caracteres cuando ...
by Antonio Linares
Wed May 01, 2024 7:04 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 1
Views: 2135

New FTDN April 2024 (FWH 24.04)

... with fraction of seconds. Also increased column size to fit the contents. * FWMariaRowSet: - Method ToExcel(): (1) Enclosed :FreezePanes in TRY/CATCH block to avoid runtime errors in some installtions. (2) Date and DateTime values are exported as character data when the Year is < 1900 to ...
by Antonio Linares
Wed Apr 24, 2024 7:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 1
Views: 2135

Re: FWMARIA TOEXCEL ERROR FREEZEPANES

It appears you are using
Code: Select all  Expand view  RUN
oRowSet:ToExcel()

of FWMaria lib.
We will now include this code in TRY/CATCH block for future.

But we advise you to use oBrw:ToExcel() which is safer.
by nageswaragunupudi
Sat Apr 06, 2024 2:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWMARIA TOEXCEL ERROR FREEZEPANES
Replies: 3
Views: 3526
Next

Return to advanced search