Search found 133 matches: ctype

Return to advanced search

Re: FW_SaveImage

... bitmap files and their subsequent gluing. For gluing, you can use the function FW_StitchImages( uImage1, uImage2, [cSide], [cType] ) --> newImage uImage1 and uImage2: can be hBitmap or any image-file or any image-buffer of any type. cSide: Can be "R" ...
by nageswaragunupudi
Thu Feb 15, 2024 3:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SaveImage
Replies: 8
Views: 451

Re: Using Microsoft AI Phi-2 from FWH

Dear Jimmy, many thanks Please try this using 64 bits only: HMG_CallDLL( "llama64.dll", HB_DYN_CTYPE_VOID, "Llama", cModel, cPrompt, CallBack( { | cStr | AI_FORM.oAnswer.SetFocus(), AI_FORM.oAnswer.Value += cStr } ) ) and add this at the bottom: #pragma BEGINDUMP #include <hba...
by Antonio Linares
Thu Dec 21, 2023 4:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8330

Re: Using Microsoft AI Phi-2 from FWH

hi Antonio, Does HMG support DLL FUNCTION ? or similar ? Or should we use Harbour default DLL management functions ? Can you convert the FWH GUI part of the example to HMG ? as i know there is no DLL FUNCTION under HMG only HMG_CallDLL() Calls a ANSI/Unicode DLL Function HMG_CallDLL() detects the cu...
by Jimmy
Thu Dec 21, 2023 12:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8330

Re: eMail with html

... --- as TEXT point to lpszNoteText try NIL or NULL DEFINE MAIL [<oMail>] ; [ SUBJECT <cSubject> ] ; [ TEXT <cText> ] ; [ TYPE <cType> ] ; and add a HTML as Attachment
by Jimmy
Sun Sep 24, 2023 9:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: eMail with html
Replies: 2
Views: 257

Re: Ejemplo de mail sin intervención del usuario

hi, MAIL have more Option like ORIGIN or FROM USER DEFINE MAIL [ <oMail> ]; [ SUBJECT <cSubject> ]; [ TEXT <cText> ]; [ TYPE <cType> ]; [ DATE <dDate> ]; [ TIME <cTime> ]; [ CONVERSATION <cConversation> ]: [ RECEIPT ]; [ FROM USER ]; [ FILES <cFilename1> ...
by Jimmy
Fri Sep 15, 2023 1:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejemplo de mail sin intervención del usuario
Replies: 3
Views: 208

Webservice de .NET a Fivewin

... End Select End Select Dim myReq As HttpWebRequest = WebRequest.Create(url) Dim proxy As IWebProxy = CType(myReq.Proxy, IWebProxy) Dim proxyaddress As String Dim myProxy As New WebProxy() Dim encoding As New ASCIIEncoding Dim buffer() As Byte = encoding.GetBytes(sXmlIda) ...
by mterraz
Wed Jul 12, 2023 4:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Webservice de .NET a Fivewin
Replies: 2
Views: 585

Re: New FTDN April/Abril 2023 (FWH 23.04)

... Si @nFormat se pasa por ref y nFormat es nulo, el formato se devuelve en este parámetro. * Nuevo: Nueva función FW_ImageToBlob( [npImage], [cType], [nJpgQuality], ; [lAlpha], [nClrBack], [nWidth], [nHeight] ) ; --> cBlob - 1. npImage: Opcional. hBitmap o puntero de imagen GDI+. Si es ...
by Antonio Linares
Thu May 04, 2023 6:37 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2023 (FWH 23.04)
Replies: 4
Views: 1757

New FTDN April/Abril 2023 (FWH 23.04)

... format is obtained. If @nFormat is passed by ref and nFormat is nil, the format is returned in this parameter. * New: FW_ImageToBlob( [npImage], [cType], [nJpgQuality], ; [lAlpha], [nClrBack], [nWidth], [nHeight] ) ; --> cBlob - 1.npImage: Optional. hBitmap or GDI+ image pointer If nil, defaults ...
by Antonio Linares
Tue May 02, 2023 7:08 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2023 (FWH 23.04)
Replies: 4
Views: 1757

Sending HTML using MAIL

...     ACTIVATE MAIL oMail  However, I want to start the email ( in Outlook via MAPI ) as HTML. I added the following: LOCAL cType := 'txt/html' Then I added the following to the call above: TYPE cType In the documentation, TYPE is a valid addition. However, when I add this ...
by TimStone
Tue Apr 04, 2023 11:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sending HTML using MAIL
Replies: 10
Views: 700

Re: IE

Harbour doesn't understand this syntax: webview_get_window( hWebView ) I tried to read the window handle, but I get empty. hWebView := hb_DynCall( { "webview_create", pLib, ; hb_bitOr( HB_DYN_CTYPE_VOID_PTR, hb_SysCallConv() ), ; HB_DYN_CTYPE_VOID_PTR, hb_SysLong(), HB_DYN_CTYPE_VOID_PTR }...
by Natter
Mon Jun 06, 2022 11:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: IE
Replies: 39
Views: 1681

Re: IE

Antonio, excuse me, I sent you an html file by email. hb_DynCall( { "webview_navigate", pLib, ; hb_bitOr( HB_DYN_CTYPE_VOID, hb_SysCallConv() ),; HB_DYN_CTYPE_VOID_PTR, HB_DYN_CTYPE_CHAR_PTR },; hWebView, "data:text/html,"+CRLF+filestr("my.html"))
by Natter
Sat Jun 04, 2022 10:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: IE
Replies: 39
Views: 1681

Re: Lookup method of Tdatabase

now correct to
@ 48, 94 COMBOBOX aGet[2] VAR nImage ITEMS aElementiItems ;
BITMAPS aBmpCombo SIZE 98,220 PIXEL OF oDlg HEIGHTGET 66 ;
ON CHANGE ( ctype:= aElementi[nImage][1],Eval( bCheck ))
by Silvio.Falconi
Tue Aug 24, 2021 4:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Lookup method of Tdatabase
Replies: 44
Views: 2868

Re: CUMPLIENDO IMPRESORA FISCAL BEMATECH

... _ & "','" & "I" _ & "','" & mcantidad _ & "','" & 2 _ & "','" & CType(mVarImporUnit, Single) _ & "','" & "%" _ & "','" & (Val(mDescue) * 100).ToString & "')" ...
by cujarjose
Sat Jun 05, 2021 3:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CUMPLIENDO IMPRESORA FISCAL BEMATECH
Replies: 13
Views: 4715

Re: problema con DrawBitmap() usando tCodeBars

... nFlags ) CLASS TCodeBars ::nFlags = nFlags return NIL //--------------------------------------// METHOD SetType( cnType ) class TCodeBars local cType if ( ( cType := ValType( cnType ) )$"CN" ) if cType == "N" if cnType > 0 .and. cnType < 15 ::nType = cnType endif else ...
by rterraz
Mon Mar 15, 2021 12:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con DrawBitmap() usando tCodeBars
Replies: 10
Views: 1034

Mysql_real_escape_string() problem

Hello everyone, I'm trying to call the mysql_real_escape_string() from both libmysql.dll and libmariadb.dll inside a webservice, but it's not working... does anybody know what could be the problem?? cSQL:=mysql_real_escape_string(::pLib,::hConnection,cSQL) function mysql_real_escape_string(pLib, hCo...
by ricbarraes
Fri Sep 11, 2020 1:01 pm
 
Forum: mod_harbour
Topic: Mysql_real_escape_string() problem
Replies: 4
Views: 648
Next

Return to advanced search