Search found 222 matches: hmg

Return to advanced search

Re: TUrlLink on Xbrowse

... have METHOD EditDateTime( nKey ) CLASS TXBrwColumn to popup when edit (but no Sample) Screenshot show same Trick to get DTPICK, under HMG in a GRID using COLUMNCONTROLS, which appear same Way when "Edit" Data https://i.postimg.cc/bvNVxJZF/GRID-Object.jpg --- ...
by Silvio.Falconi
Thu Feb 29, 2024 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TUrlLink on Xbrowse
Replies: 3
Views: 246

Re: TUrlLink on Xbrowse

... have METHOD EditDateTime( nKey ) CLASS TXBrwColumn to popup when edit (but no Sample) Screenshot show same Trick to get DTPICK, under HMG in a GRID using COLUMNCONTROLS, which appear same Way when "Edit" Data https://i.postimg.cc/bvNVxJZF/GRID-Object.jpg --- ...
by Jimmy
Thu Feb 29, 2024 5:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TUrlLink on Xbrowse
Replies: 3
Views: 246

Re: Ayuda URGENTE- con puerto serial virtual USB

... nil Quedo a al espera y gracias, Carito hace casi 14 años use esto para conectar un lector en un puerto virtual en windows xp lo hice en Harbour / HMG #include "hbcom.ch"Function Main....fConecta()                   /* conecta el scanner ...
by Danielmaximiliano
Thu Feb 29, 2024 2:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda URGENTE- con puerto serial virtual USB
Replies: 19
Views: 908

Re: SAPI : change Voice

Yes It run ok but i Wish change the voices Hola Silvio : no soy programador en FW sino en HMG/Harbour no recordaba estar en este foro pero ingrese en el 2012, vi que Jimmy y varios en harbour tenian el mismo problema de elegir la voz del narrador de windows y jimmy ...
by Danielmaximiliano
Sat Feb 24, 2024 12:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3780

Re: SAPI : change Voice

Hola Jmmy : yo lo resolví asi en HMG/Harbour Function Play()  oNarrator:EventInterests := SVEAllEvents + SVEAudioLevel oNarrator:Speak( Main.RichEdit_1.VALUE, ( SVSFlagsAsync + SVSFPurgeBeforeSpeak ))  Do While .NOT. ...
by Danielmaximiliano
Wed Feb 14, 2024 11:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3780

Re: SAPI : change Voice

... , StreamPosition + Length})   oGetText:SetFocus() to get this Effect ( not perfect ) using HMG Syntax and RTF https://i.postimg.cc/nV1YTX0J/Sp-Voice-WORD.gif a Get / MGet will highlight hole Control when get Focus but i do ...
by Jimmy
Sun Feb 11, 2024 10:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3780

Re: SAPI : change Voice

... Los eventos de voz devuelven el número de flujo de entrada para asociarlos con el flujo apropiado. voy a ver como hacer un ejemplo en Harbour/HMG que es lo que utilizo, ya que nunca utilize FiveWin que es su producto. SLDS
by Danielmaximiliano
Thu Feb 08, 2024 12:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3780

Re: SAPI : change Voice

hi, i try to use CODE from ChatGPT as HB_FUNC() but i got Errors C:\hmg.3.4.4\0\SAPI>..\..\build SapiVoice.hbp Harbour 3.2.0dev (r1703241902) Copyright (c) 1999-2016, http://harbour-project.org/ HB_FUNC.PRG: In function 'HB_FUN_GETZIRA': HB_FUNC.PRG:20:31: ...
by Jimmy
Thu Jan 25, 2024 4:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3780

Re: Using Microsoft AI Phi-2 from FWH

Dear Jimmy, glad to know that you got it working using FWH :-) I think the different behavior with HMG is this: AI_FORM.oAnswer.Value += cStr with FWH we use Class TMultiGet METHOD Append( cStr )      METHOD Append( cText, nLen ) INLINE ;    ...
by Antonio Linares
Fri Dec 22, 2023 9:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8424

Re: Using Microsoft AI Phi-2 from FWH

hi Antonio,
Antonio Linares wrote:I have it here at line 122, how is it possible that you have it at line 64 ?

sorry, it was my Mistake while i have add CODE after wrong Line

now it is running under Fivewin :)

i still try to run it under HMG ... but it still fail
by Jimmy
Fri Dec 22, 2023 7:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8424

Re: Using Microsoft AI Phi-2 from FWH

hi Antonio, 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 } ...
by Jimmy
Thu Dec 21, 2023 10:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8424

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: 8424

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() ...
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: 8424

Re: Using Microsoft AI Phi-2 from FWH

hi Antonio, Could you kindly adapt this code to HMG ? i´m not sure about "Callback" under HMG will FWH CODE work when "LoadLibrary", "llama64.dll" or do i need DLL FUNCTION :?: Dear Jimmy, Does HMG support DLL FUNCTION ...
by Antonio Linares
Thu Dec 21, 2023 10:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8424

Re: Using Microsoft AI Phi-2 from FWH

hi Antonio,
Antonio Linares wrote:Could you kindly adapt this code to HMG ?

i´m not sure about "Callback" under HMG

will FWH CODE work when "LoadLibrary", "llama64.dll" or do i need DLL FUNCTION :?:
by Jimmy
Thu Dec 21, 2023 10:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8424
Next

Return to advanced search