topic
stringlengths
1
63
text
stringlengths
1
577k
how to get CTRL + LBUTTONDOWN Event ?
Dear Jimmy, Here you have a working example: [code=fw:3h2t1ew7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> oWnd <br /><br />&nbsp; &nbsp; <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <br /><br />&nbsp; &nbsp; oWnd:<span style="color: #000000;">bLClicked</span> = <span style="color: #000000;">&#123;</span> || <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> GetKeyState<span style="color: #000000;">&#40;</span> VK_CONTROL <span style="color: #000000;">&#41;</span>, <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Ctrl + left click"</span> <span style="color: #000000;">&#41;</span>,<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp; <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span> &nbsp; &nbsp;</div>[/code:3h2t1ew7]
how to get CTRL + LBUTTONDOWN Event ?
hi Antonio, [quote:1rcbe66b][code=fw:1rcbe66b]<div class="fw" id="{CB}" style="font-family: monospace;">oWnd:<span style="color: #000000;">bLClicked</span> = <span style="color: #000000;">&#123;</span> || <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> GetKeyState<span style="color: #000000;">&#40;</span> VK_CONTROL <span style="color: #000000;">&#41;</span>, <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Ctrl + left click"</span> <span style="color: #000000;">&#41;</span>,<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span></div>[/code:1rcbe66b][/quote:1rcbe66b] YES, thx to point me to Codeblock Slot
how to get Handle of Scrollbar() of Control ?
hi, i want to change Color of Scrollbar when appear. for this i need Handle of Scrollbar this i made under Xbase++ [img:16l64iwf]https&#58;//i&#46;postimg&#46;cc/wxfQNnGs/Scrollbar-Darkmode&#46;jpg[/img:16l64iwf] --- i have override Fivewin Method for my CLASS TGrid() [code=fw:16l64iwf]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style="color: #00C800;">METHOD</span> <span style="color: #0000ff;">HScroll</span><span style="color: #000000;">&#40;</span> nWParam, nLParam <span style="color: #000000;">&#41;</span> VIRTUAL <span style="color: #B900B9;">// required for default behavior</span><br />   <span style="color: #00C800;">METHOD</span> <span style="color: #0000ff;">VScroll</span><span style="color: #000000;">&#40;</span> nWParam, nLParam <span style="color: #000000;">&#41;</span> VIRTUAL <span style="color: #B900B9;">// required for default behavior</span></div>[/code:16l64iwf] in CLASS TWindow we have [code=fw:16l64iwf]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style="color: #00C800;">DATA</span> oVScroll, oHScroll</div>[/code:16l64iwf] which will be "filled" [code=fw:16l64iwf]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style="color: #00C800;">if</span> lVScroll<br />      <span style="color: #0000ff;">DEFINE</span> SCROLLBAR ::<span style="color: #000000;">oVScroll</span> <span style="color: #0000ff;">VERTICAL</span> <span style="color: #0000ff;">OF</span> <span style="color: #00C800;">Self</span><br />   <span style="color: #00C800;">endif</span><br />   <span style="color: #00C800;">if</span> lHScroll<br />      <span style="color: #0000ff;">DEFINE</span> SCROLLBAR ::<span style="color: #000000;">oHScroll</span> <span style="color: #0000ff;">HORIZONTAL</span> <span style="color: #0000ff;">OF</span> <span style="color: #00C800;">Self</span><br />   <span style="color: #00C800;">endif</span></div>[/code:16l64iwf] now i try this [code=fw:16l64iwf]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> GetScrollbarObj<span style="color: #000000;">&#40;</span>lVScroll<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> oObj<br /><span style="color: #00C800;">LOCAL</span> hWnd := <span style="color: #000000;">0</span><br /><span style="color: #00C800;">DEFAULT</span> lVScroll := .T.<br /><br />   <span style="color: #00C800;">IF</span> lVScroll<br />      <span style="color: #00C800;">IF</span> __objHasData<span style="color: #000000;">&#40;</span> <span style="color: #00C800;">self</span>, <span style="color: #ff0000;">"oVScroll"</span> <span style="color: #000000;">&#41;</span><br />         oObj := ::<span style="color: #000000;">oVScroll</span> <span style="color: #B900B9;">// VERTICAL</span><br />      <span style="color: #00C800;">ELSE</span><br />         <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"no oVScroll"</span> <span style="color: #000000;">&#41;</span><br />      <span style="color: #00C800;">ENDIF</span><br />   <span style="color: #00C800;">ELSE</span><br />      <span style="color: #00C800;">IF</span> __objHasData<span style="color: #000000;">&#40;</span> <span style="color: #00C800;">self</span>, <span style="color: #ff0000;">"oHScroll"</span> <span style="color: #000000;">&#41;</span><br />         oObj := ::<span style="color: #000000;">oHScroll</span> <span style="color: #B900B9;">// HORIZONTAL</span><br />      <span style="color: #00C800;">ELSE</span><br />         <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"no oHScroll"</span> <span style="color: #000000;">&#41;</span><br />      <span style="color: #00C800;">ENDIF</span><br />   <span style="color: #00C800;">ENDIF</span><br /><br />   <span style="color: #00C800;">IF</span> VALTYPE<span style="color: #000000;">&#40;</span>oObj<span style="color: #000000;">&#41;</span> = <span style="color: #ff0000;">"O"</span><br />      <span style="color: #00C800;">IF</span> __objHasData<span style="color: #000000;">&#40;</span> oObj, <span style="color: #ff0000;">"hWnd"</span> <span style="color: #000000;">&#41;</span><br />         hWnd := oObj:<span style="color: #000000;">hWnd</span><br />      <span style="color: #00C800;">ELSE</span><br />         <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"no oObj:hWnd"</span> <span style="color: #000000;">&#41;</span><br />      <span style="color: #00C800;">ENDIF</span><br />   <span style="color: #00C800;">ELSE</span><br />      <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"no Object"</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">ENDIF</span><br /><br /><span style="color: #00C800;">RETURN</span> hWnd</div>[/code:16l64iwf] but i get "no Object" even when i can "see" Scrollbar ( ACTION GetScrollbarObj() with Button ) do what i´m doing wrong <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
how to get Information from ::aControls
hi, i do have REDEFINE BUTTON and i want to get hWnd of each Control [code=fw:z5oie6b5]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style="color: #00C800;">FOR</span> ii := <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> LEN<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">aControls</span> <span style="color: #000000;">&#41;</span><br />      oObj := ::<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span>ii<span style="color: #000000;">&#93;</span><br />      hWnd := oObj:<span style="color: #000000;">hWnd</span><br />      fwlog oObj, LEN<span style="color: #000000;">&#40;</span>oObj<span style="color: #000000;">&#41;</span>, hWnd</div>[/code:z5oie6b5] [quote:z5oie6b5] oOBj -> TBUTTON LEN(oObj) -> 151 // ??? hWnd -> 0[/quote:z5oie6b5] what i´m doing wrong <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
how to get Information from ::aControls
When we create controls on a Window, all controls are fully created and so have valid hWnd. When we create controls on a dialog, the controls are created only when the dialog is initialized. So, hWnd is valid only after activating the dialog.
how to get Information from ::aControls
hi, [quote:cb5ol5zc]When we create controls on a dialog, the controls are created only when the dialog is initialized. So, hWnd is valid only after activating the dialog.[/quote:cb5ol5zc] ah ... ok, thx have to over-think concept
how to get WM_POWERBROADCAST under Fivewin ?
+1
how to get WM_POWERBROADCAST under Fivewin ?
hi, i want to avoid "Energy-Saving" when App is running. --- there is a WM_POWERBROADCAST Message which i use under Xbase++ / Ot4xb [code=fw:388lxn7j]<div class="fw" id="{CB}" style="font-family: monospace;">   ELSEIF nMsg == WM_POWERBROADCAST<br />      <span style="color: #00C800;">DO</span> <span style="color: #00C800;">CASE</span><br />         <span style="color: #00C800;">CASE</span> wp = PBT_APMQUERYSUSPEND<br />            <span style="color: #00C800;">RETURN</span>  BROADCAST_QUERY_DENY<br /><br />         <span style="color: #00C800;">CASE</span> wp = PBT_APMQUERYSUSPENDFAILED<br />            <span style="color: #00C800;">RETURN</span>  BROADCAST_QUERY_DENY<br /><br />         <span style="color: #B900B9;">// since Vista ?</span><br />         <span style="color: #00C800;">CASE</span> wp = PBT_APMQUERYSTANDBY<br />            <span style="color: #00C800;">RETURN</span>  BROADCAST_QUERY_DENY<br /><br />         <span style="color: #00C800;">CASE</span> wp = PBT_APMQUERYSTANDBYFAILED<br />            <span style="color: #00C800;">RETURN</span>  BROADCAST_QUERY_DENY<br /><br />         <span style="color: #00C800;">CASE</span> wp = PBT_APMSTANDBY<br />            <span style="color: #00C800;">RETURN</span>  BROADCAST_QUERY_DENY<br /><br />*         <span style="color: #00C800;">CASE</span> wp = PBT_APMBATTERYLOW         ; ::_OnDummy<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"PBT_APMBATTERYLOW       "</span>,Time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />*         <span style="color: #00C800;">CASE</span> wp = PBT_APMOEMEVENT           ; ::_OnDummy<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"PBT_APMOEMEVENT         "</span>,Time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />*         <span style="color: #00C800;">CASE</span> wp = PBT_APMPOWERSTATUSCHANGE  ; ::_OnDummy<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"PBT_APMPOWERSTATUSCHANGE"</span>,Time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />*         <span style="color: #00C800;">CASE</span> wp = PBT_APMRESUMEAUTOMATIC    ; ::_OnDummy<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"PBT_APMRESUMEAUTOMATIC  "</span>,Time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />*         <span style="color: #00C800;">CASE</span> wp = PBT_APMRESUMECRITICAL     ; ::_OnDummy<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"PBT_APMRESUMECRITICAL   "</span>,Time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />*         <span style="color: #00C800;">CASE</span> wp = PBT_APMRESUMESUSPEND      ; ::_OnDummy<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"PBT_APMRESUMESUSPEND    "</span>,Time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />*         <span style="color: #00C800;">CASE</span> wp = PBT_APMSUSPEND            ; ::_OnDummy<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"PBT_APMSUSPEND          "</span>,Time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span></div>[/code:388lxn7j] this will DENY "Energy-Saving" if available i guess i have to place it in :HandleEvent() ... but in which CLASS <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
how to get WM_POWERBROADCAST under Fivewin ?
Dear Jimmy, You have to inherit a new class from TWindow and redefine the Method HandleEvent( nMsg, nWParam, nLParam ) [code=fw:dvaono5y]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">CLASS</span> TMyWindow <span style="color: #0000ff;">FROM</span> TWindow<br /><br />&nbsp; &nbsp;CLASSDATA lRegistered<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style="color: #00C800;">METHOD</span> HandleEvent<span style="color: #000000;">&#40;</span> nMsg, nWParam, nLParam <span style="color: #000000;">&#41;</span> <br /><br /><span style="color: #00C800;">ENDCLASS</span><br /><br /><span style="color: #00C800;">METHOD</span> HandleEvent<span style="color: #000000;">&#40;</span> nMsg, nWParam, nLParam <span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TMyWindow<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> nMsg == WM_POWERBROADCAST<br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span> &nbsp; <br />&nbsp; &nbsp;<br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">Super</span>:<span style="color: #000000;">HandleEvent</span><span style="color: #000000;">&#40;</span> nMsg, nWParam, nLParam <span style="color: #000000;">&#41;</span></div>[/code:dvaono5y]
how to get WM_POWERBROADCAST under Fivewin ?
hi Antonio, [quote="Antonio Linares":3ecwyg51]You have to inherit a new class from TWindow and redefine the Method HandleEvent( nMsg, nWParam, nLParam )[/quote:3ecwyg51] Ok, thx i will try it
how to get WM_POWERBROADCAST under Fivewin ?
hi, it seem that WM_POWERBROADCAST is not "fired" on every Windows 10/11 PC on some PC it run fine hole Day but other still go "sleep" <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? --> so i use another Option and that seems to work fine on all PC ( > VISTA ) [quote:z53fp01h]SetStandbyOFF(.T.) -> no Energy Saving SetStandbyOFF(.F.) -> normal Energy saving[/quote:z53fp01h] [url:z53fp01h]https&#58;//learn&#46;microsoft&#46;com/en-us/windows/win32/api/winbase/nf-winbase-setthreadexecutionstate[/url:z53fp01h] [code=fw:z53fp01h]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#define</span> ES_CONTINUOUS        0x80000000<br /><span style="color: #00D7D7;">#define</span> ES_SYSTEM_REQUIRED   0x00000001<br /><span style="color: #00D7D7;">#define</span> ES_DISPLAY_REQUIRED  0x00000002<br /><span style="color: #00D7D7;">#define</span> ES_USER_PRESENT      0x00000004<br /><span style="color: #00D7D7;">#define</span> ES_AWAYMODE_REQUIRED 0x00000040<br /><br /><span style="color: #00C800;">FUNCTION</span> SetStandbyOFF<span style="color: #000000;">&#40;</span> lOnOff <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> nRet := <span style="color: #000000;">0</span><br />   <span style="color: #00C800;">DEFAULT</span> lOnOff := .F.<br />   <span style="color: #00C800;">IF</span> lOnOff = .T.<br />      nRet := DllCall<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"KERNEL32.Dll"</span>,, <span style="color: #ff0000;">"SetThreadExecutionState"</span>, nOr<span style="color: #000000;">&#40;</span> ES_CONTINUOUS, ES_SYSTEM_REQUIRED, ES_DISPLAY_REQUIRED, ES_AWAYMODE_REQUIRED <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">ELSE</span><br />      nRet := DllCall<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"KERNEL32.Dll"</span>,, <span style="color: #ff0000;">"SetThreadExecutionState"</span>, ES_CONTINUOUS <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">ENDIF</span><br /><span style="color: #00C800;">RETURN</span> nRet</div>[/code:z53fp01h] p.s. how to make a HB_FUNC() of it <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
how to get WM_POWERBROADCAST under Fivewin ?
+1
how to get WM_POWERBROADCAST under Fivewin ?
[code=fw:178t2bk7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> SETSTANDBY <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;EXECUTION_STATE esFlags = <span style="color: #000000;">&#40;</span> HB_ISLOG<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> && hb_parl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> ?<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> ES_CONTINUOUS | ES_SYSTEM_REQUIRED | ES_DISPLAY_REQUIRED | ES_AWAYMODE_REQUIRED <span style="color: #000000;">&#41;</span> :<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">ES_CONTINUOUS</span> <span style="color: #000000;">&#41;</span>;<br /><br />&nbsp; &nbsp;hb_retnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> long <span style="color: #000000;">&#41;</span> SetThreadExecutionState<span style="color: #000000;">&#40;</span> esFlags <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span><br />&nbsp;</div>[/code:178t2bk7]
how to get WM_POWERBROADCAST under Fivewin ?
hi, thx to show me how HB_FUNC() look like
how to get no Titlebar
hi, for Splash Screen i like to remove Titlebar [code=fw:378i42zc]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oDlg <span style="color: #0000ff;">FROM</span> y1, x1 <span style="color: #0000ff;">TO</span> y2, x2 <span style="color: #0000ff;">PIXEL</span> NOSYSMENU NOCAPTION NOMINIMIZE NOMAXIMIZE</div>[/code:378i42zc] but i still get a Titlebar <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> how to remove it <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
how to get no Titlebar
Dear Jimmy, Use a dialog instead of a window
how to get no Titlebar
hi Antonio, [quote="Antonio Linares":2b2ptcb0] Use a dialog instead of a window[/quote:2b2ptcb0] have try it after disable 2unknown" Parameter it run ... and hang ... <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> but i found Solution [code=fw:2b2ptcb0]<div class="fw" id="{CB}" style="font-family: monospace;">NOSYSMENU NOCAPTION NOMINIMIZE NOMAXIMIZE BORDER NONE</div>[/code:2b2ptcb0] the Border Option did the Trick <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
how to handle License for MySQL PostgreSQL & Co ?
hi, if we use MySQL or PostgreSQL we must buy a License, but "where" to buy and how much does it cost <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
how to handle License for MySQL PostgreSQL & Co ?
Both are free We can download and install on any computer. Though full versions are Microsoft SQL and Oracle are costly, we can freely download and install their Express Editions viz., SQLEXPRESS, Oracle Express, whose main limitation is Database Size (around 10/12 GB) which is more than enough for development as well as small businesses.
how to handle License for MySQL PostgreSQL & Co ?
hi, i´m asking while Alaska want to pay for PGDBE when use it <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> [url:tiyq10dx]https&#58;//www&#46;alaska-software&#46;com/products/pg-product-list&#46;cxp[/url:tiyq10dx] it is new for me that a Company sell a Product and want to have Money, every Year, to use a "Wrapper" for a "Open-Source" Product
how to handle License for MySQL PostgreSQL & Co ?
ADO is free for all of us and we can work with any RDBMS. In addition, Harbour provides an excellent Library for working with PostGre. I think we should be able to use this library even with HMG. For MySQL/MariaDB, we have FWH built-in library in addition to TDolphin and TMySql. Most probably TDolphin and TMySql may work well with HMG also.
how to handle License for MySQL PostgreSQL & Co ?
[quote="nageswaragunupudi":24kx0nui]ADO is free for all of us and we can work with any RDBMS. In addition, Harbour provides an excellent Library for working with PostGre. I think we should be able to use this library even with HMG. For MySQL/MariaDB, we have FWH built-in library in addition to TDolphin and TMySql. Most probably TDolphin and TMySql may work well with HMG also.[/quote:24kx0nui] Mr.RAO Yes, I agree with you. Jimmy, I use TMySQL and MySQL for my customers working fine.
how to handle License for MySQL PostgreSQL & Co ?
hi, thx for Answer as i know MySQL is using GPL License, which means you need to purchase a commercial license to distribute proprietary code that uses those libraries. PostgreSQL use MIT license, where you "only" must include MIT License TEXT with Copyright --- the Question is "where" i have to "pay" for it to use "Wrapper" to connect to Backend Alaska want me NOW to "buy" a License to use PGDBE which is Alaska Way to connect to Backend using ISAM Style
how to handle License for MySQL PostgreSQL & Co ?
Maybe this is not related, but can we also connect to Pervasive PSQL V13 files ? I want to import data into my dbf files ( Pervasive before was using BTrieve files (still do) but the old connection program is not working anymore
how to handle License for MySQL PostgreSQL & Co ?
Hi Marc! Have you try [url:b1gpsn7z]https&#58;//www&#46;connectionstrings&#46;com/pervasive/[/url:b1gpsn7z] ? Regards,
how to handle License for MySQL PostgreSQL & Co ?
We can not distribute servers. (server software) But we can distribute any application using ADO or Harbour or FWH libraries either for free or at cost without any licenses to work with any RDBMS/database installed or hired by the user.
how to handle License for MySQL PostgreSQL & Co ?
Use mariadb not MySQL.
how to identify the version of windows mobile?
Hi all, how to identify the version of windows mobile? Thanks for your response Best regards, Ugo
how to identify the version of windows mobile?
Ugo, Here you have a working example: [code:1c3r3qo5] // Check Windows Mobile version #include "FWCE&#46;ch" function Main() local aVersion &#58;= GetVersion() MsgInfo( "Major version&#58; " + Str( aVersion&#91; 1 &#93; ) + CRLF + ; "Minor version&#58; " + Str( aVersion&#91; 2 &#93; ) + CRLF + ; "Build number&#58; " + Str( aVersion&#91; 3 &#93; ) + CRLF + ; "Platform Id&#58; " + Str( aVersion&#91; 4 &#93; ) ) return nil [/code:1c3r3qo5]
how to identify the version of windows mobile?
Antonio, thank you.
how to identify which HB_CODEPAGE was REQUEST
hi, to use a Codepage i must REQUEST it before. but how do i "identify" if a Codepage was REQUEST so i can "use" it <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
how to identify which HB_CODEPAGE was REQUEST
Dear Jimmy, [url:2fvsnlcx]http&#58;//harbourlanguage&#46;blogspot&#46;com/2010/06/harbour-codepage&#46;html[/url:2fvsnlcx] also review this: [url:2fvsnlcx]https&#58;//github&#46;com/harbour/core/blob/master/src/rtl/cdpapihb&#46;c[/url:2fvsnlcx]
how to identify which HB_CODEPAGE was REQUEST
hi Antonio, i have follow links and made this Sample where i REQUEST DExxx Codepage [code=fw:3r1ko6ch]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"hbextcdp.ch"</span><br /><br /><span style="color: #B900B9;">//  REQUEST HB_LANG_ES</span><br /><span style="color: #B900B9;">//  REQUEST HB_LANG_EN</span><br /><span style="color: #B900B9;">//  REQUEST HB_LANG_FR</span><br /><span style="color: #B900B9;">//  REQUEST HB_LANG_PT</span><br />REQUEST HB_LANG_DEWIN<br /><span style="color: #B900B9;">//  REQUEST HB_LANG_RUWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_LANG_IT</span><br /><span style="color: #B900B9;">//  REQUEST HB_LANG_PLWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_LANG_EU</span><br /><span style="color: #B900B9;">//  REQUEST HB_LANG_HR852</span><br /><span style="color: #B900B9;">//  REQUEST HB_LANG_SLWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_LANG_CSWIN</span><br /><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_BG866</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_BGISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_BGMIK</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_BGWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_CS852</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_CS852C</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_CSISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_CSKAMC</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_CSWIN</span><br />REQUEST HB_CODEPAGE_DE850<br />REQUEST HB_CODEPAGE_DE850M<br />REQUEST HB_CODEPAGE_DEISO<br />REQUEST HB_CODEPAGE_DEWIN<br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_DK865</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_EL437</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_EL737</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_ELISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_ELWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_EN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_ES850</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_ES850C</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_ES850M</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_ESISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_ESMWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_ESWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_FI850</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_FR850</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_FR850C</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_FR850M</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_FRISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_FRWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_HE862</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_HEWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_HR646</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_HR852</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_HRISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_HRWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_HU852</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_HU852C</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_HUISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_HUWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_IS850</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_IS861</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_IT437</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_IT850</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_IT850M</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_ITISB</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_ITISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_ITWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_LT775</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_LTWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_NL850</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_NL850M</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_NO865</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_PL852</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_PLISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_PLMAZ</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_PLWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_PT850</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_PT860</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_PTISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_RO852</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_ROISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_ROWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_RU1251</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_RU866</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_RUISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_RUKOI8</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SK852</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SK852C</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SKISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SKKAMC</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SKWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SL646</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SL852</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SLISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SLWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SR646</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SR646C</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SRWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SV437C</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SV850</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SV850M</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SVISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_SVWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_TR857</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_TRISO</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_TRWIN</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_UA1125</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_UA1251</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_UA866</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_UAKOI8</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_UTF16LE</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_UTF8</span><br /><span style="color: #B900B9;">//  REQUEST HB_CODEPAGE_UTF8EX</span><br /><br />PROCEDURE Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">LOCAL</span> cdp, x, i, aCDP<br /><br />   <span style="color: #00C800;">FOR</span> EACH cdp IN get_list_of_real_codepages<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />      x := hb_cdpUniID<span style="color: #000000;">&#40;</span> cdp <span style="color: #000000;">&#41;</span><br />      fwlog x, HB_CDPEXISTS<span style="color: #000000;">&#40;</span>x<span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">NEXT</span><br /><br />   fwlog <span style="color: #ff0000;">"********************************************************"</span><br /><br />   aCDP := AllCodepage<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">FOR</span> i := <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> LEN<span style="color: #000000;">&#40;</span>aCDP<span style="color: #000000;">&#41;</span><br />      fwlog aCDP<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span>, HB_CDPEXISTS<span style="color: #000000;">&#40;</span>aCDP<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">NEXT</span><br /><br /><span style="color: #00C800;">RETURN</span><br /><br /><span style="color: #00C800;">FUNCTION</span> get_list_of_real_codepages<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">LOCAL</span> s_uni := <span style="color: #000000;">&#123;</span> => <span style="color: #000000;">&#125;</span><br />   <span style="color: #00C800;">LOCAL</span> cdp<br />   s_uni := <span style="color: #000000;">&#123;</span> => <span style="color: #000000;">&#125;</span><br />   <span style="color: #00C800;">FOR</span> EACH cdp IN hb_cdpList<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />      s_uni<span style="color: #000000;">&#91;</span> hb_cdpUniID<span style="color: #000000;">&#40;</span> cdp <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#93;</span> := cdp<br />   <span style="color: #00C800;">NEXT</span><br /><span style="color: #00C800;">RETURN</span> s_uni<br /><br /><span style="color: #00C800;">FUNCTION</span> AllCodepage<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> aRet := <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"BG866"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"BGISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"BGMIK"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"BGWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"CS852"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"CS852C"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"CSISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"CSKAMC"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"CSWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"DE850"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"DE850M"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"DEISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"DEWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"DK865"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"EL437"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"EL737"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"ELISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"ELWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"EN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"ES850"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"ES850C"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"ES850M"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"ESISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"ESMWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"ESWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"FI850"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"FR850"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"FR850C"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"FR850M"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"FRISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"FRWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"HE862"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"HEWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"HR646"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"HR852"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"HRISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"HRWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"HU852"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"HU852C"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"HUISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"HUWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"IS850"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"IS861"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"IT437"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"IT850"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"IT850M"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"ITISB"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"ITISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"ITWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"LT775"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"LTWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"NL850"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"NL850M"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"NO865"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"PL852"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"PLISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"PLMAZ"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"PLWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"PT850"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"PT860"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"PTISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"RO852"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"ROISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"ROWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"RU1251"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"RU866"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"RUISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"RUKOI8"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SK852"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SK852C"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SKISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SKKAMC"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SKWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SL646"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SL852"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SLISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SLWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SR646"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SR646C"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SRWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SV437C"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SV850"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SV850M"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SVISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"SVWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"TR857"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"TRISO"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"TRWIN"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"UA1125"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"UA1251"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"UA866"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"UAKOI8"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"UTF16LE"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"UTF8"</span><span style="color: #000000;">&#41;</span><br />AADD<span style="color: #000000;">&#40;</span>aRet,<span style="color: #ff0000;">"UTF8EX"</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span> aRet</div>[/code:3r1ko6ch] in Sample of 1st link i got some Codepage but no DExxx <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> which i have REQUEST from Github Sample i use HB_CDPEXISTS() and a Array of Codepage "Name" and all get .T. <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? --> under HMG i have to REQUEST each Codepage which i want to use. under Fivewin i can use DE850 without REQUEST <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> i just want to avoid that User use a Codepage which is not available as i offer all [img:3r1ko6ch]https&#58;//i&#46;postimg&#46;cc/0jnL2tYX/Codepage&#46;png[/img:3r1ko6ch]
how to know current driver is local or network driver ?
Hi, as title. another title , where to find harbour functions list ? TKS! Shuming Wang
how to know current driver is local or network driver ?
[quote="ShumingWang":397ykwa3] how to know current driver is local or network driver ?[/quote:397ykwa3] Did you mean Current Drive is local or a network drive ? If so, then you can use the function DriveType(cDriveLetterWithoutColon) --> nDriveType [code=fw:397ykwa3]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span>DriveType<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Z"</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span></div>[/code:397ykwa3] Return values for drive types [code=fw:397ykwa3]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #000000;">0</span> RAM drive<br /><span style="color: #000000;">2</span> Floppy drive<br /><span style="color: #000000;">3</span> Hard drive<br /><span style="color: #000000;">4</span> CD-Rom drive<br /><span style="color: #000000;">5</span> Network drive<br /><span style="color: #000000;">9</span> Unknown drive</div>[/code:397ykwa3] Regards [b:397ykwa3]Anser[/b:397ykwa3]
how to know current driver is local or network driver ?
Anser? Thank you ! Shuming Wang
how to link prg files in mod harbour
From slack Otto Atzwanger 15:06 Uhr Antonio, can you please tell me how I link in different prg files in mod harbour. I mean if I have a prg with universal functions in it how do I access this prg file from my index.prg. Antonio Linares 15:08 Uhr Otto compile it as a HRB file then as the first line of your PRG write this: much better... review samples/plugin.prg thats the working example // {% LoadHRB( "testhrb.hrb" ) %}function Another() Test()return nil Otto Atzwanger 15:14 Uhr I do not know what hrb is. BTW is compiled code working even faster? Antonio Linares 15:15 Uhr When you compile a PRG you can tell Harbour to generate a HRB file instead of a C file yes, much faster Charly has done some tests and from 200 milliseconds, when we use HRB files, we reach 2 milliseconds only also it has the advantage that there are no errors if Harbour generates a HRB file then it means the syntax, everything, is correct Please test mod_harbour/samples/testhrb.prg and testhrb.hrb it is the same code, as PRG and as HRB to generate a HRB file we do (it is explained inside testhrb.prg) harbour -gh -n testhrb.prg A HRB file is a binary file that contains the local symbol table and the pcode, already compiled and ready to be used mod_harbour supports HRB files, same as PRGs this way developers can protect their code Thank you Antonio and best regards Otto
how to list opened dialogs and switch each ohter
Hi! activate no modal dialog 1 title "one" activate no modal dialog 2 title "two" activate no modal dialog 3 title "three" I want 1.to find a function like return aarray {"one","two",three"} 2.to switch from current activate diaglog "three" to another "two",hide "three" ,show "two" Thanks ! Shuming Wang
how to list opened dialogs and switch each ohter
The easiest way is to add the dialog to an array when activating (use on init clause) and delete from the array when closing (use valid clause). Other way is aWnd := GetAllWin() Check if each oWnd in aWnd is a valid object and if it is a dialog and add it to aDialog array
how to list opened dialogs and switch each ohter
TKS! Shuming Wang
how to make a listbox with no header
Is it possible to have a listbox with no header.Thanks in advanceOtto
how to make a listbox with no header
Otto,Do you mean a browse ?
how to make a listbox with no header
Antonio, yes.Regards,Otto
how to make a listbox with no header
can I create a listbox ( Browse) with no header ?
how to make an autoupdate program
Hello: I want to make my programs autoupdate via internet. I've thought made a menu entry that allow the program connect an internet server and look for a new version of the program. I think the first thing I've to do in connect the FTP server and then download the new version if exist. But my doubt are in changing the old exe for the new one. Anybody that has this implemented wants to share it ? Regards,
how to make an autoupdate program
I'm not sure whether this is what you're looking for but you can give it a try. <!-- m --><a class="postlink" href="http://www.fivewin.info/html/downloads.php?category=FiveWin%20users%20contributions&id=288">http://www.fivewin.info/html/downloads. ... ons&id=288</a><!-- m -->
how to make an autoupdate program
[quote="José Luis Sánchez":1thi7v17]Hello: I want to make my programs autoupdate via internet. I've thought made a menu entry that allow the program connect an internet server and look for a new version of the program. I think the first thing I've to do in connect the FTP server and then download the new version if exist. But my doubt are in changing the old exe for the new one. Anybody that has this implemented wants to share it ? Regards,[/quote:1thi7v17] Just use a second EXE. From you main EXE: run the second EXE and close the main EXE. Then download the new EXE and run it. EMG
how to make an autoupdate program
Friend Use the FTP Class too. With FTP Class you can download the update in silince.
how to make an group in runtime
Hi guys I hope this time you can help me Iam goin to explain it with an example: [list:gn9hi2nt] -------------------------------------------------------------------------------------------- cta ruc Descripcion Monto -------------------------------------------------------------------------------------------- [b:gn9hi2nt]12 Emitidas en cartera 1221 Emitidas en cartera .....[/b:gn9hi2nt] 1221 04205149 YAHR HD LAU 450.00 1221 06154943 LOPEZ CASANA FLORENCIA 200.00 1221 0 7777360 BOBBIO GARCIA CARLOS 550.55 .......... -------------------------------------------------------------------------------------------- [b:gn9hi2nt]Subtotal 1221 1200.55[/b:gn9hi2nt] [b:gn9hi2nt]1220 Anticipo de Clientes[/b:gn9hi2nt] 1220001 01343072 VALDIVIA PINAZO 800.00 1220001 33255222 OLIVARI VASQUEZ 2362.22 1220001 69633222 CERRUTI MARIA 255.33 1220002 44222223 BROZOVICH MARIA 116.33 1220002 56666665 LIGIA SILVIA 4555.33 1220003 45896652 BATISTA NICOLA 223.36 1220003 22221232 FUNES CARLITOS 1222.22 1220003 88282122 YLLANA LUCRECIA 2333.22 Quiero poder partir este ultimo grupo en subgrupos que quede asi: [b:gn9hi2nt]1220 Anticipo de clientes 12200001 Proyecto Tallanes[/b:gn9hi2nt] 1220001 01343072 VALDIVIA PINAZO 800.00 1220001 33255222 OLIVARI VASQUEZ 2362.22 1220001 69633222 CERRUTI MARIA 255.33 ----------------------------------------------------------------------------------------- [b:gn9hi2nt] Subtotal 1220001 3417.53[/b:gn9hi2nt] [b:gn9hi2nt]12200002 Proyecto Tradiciones[/b:gn9hi2nt] 1220002 44222223 BROZOVICH MARIA 116.33 1220002 56666665 LIGIA SILVIA 4555.33 ----------------------------------------------------------------------------------------- [b:gn9hi2nt] Subtotal 1220002 4671.66[/b:gn9hi2nt] [b:gn9hi2nt]12200002 Proyecto Sur[/b:gn9hi2nt] 1220003 45896652 BATISTA NICOLA 223.36 1220003 22221232 FUNES CARLITOS 1222.22 1220003 88282122 YLLANA LUCRECIA 2333.22 ----------------------------------------------------------------------------------------- [b:gn9hi2nt] Subtotal 1220002 3778.80 Subtotal 1220 11867. 99[/b:gn9hi2nt] [/list:u:gn9hi2nt] This is my code program, but it doesnt work, the report doesnt break [code=fw:gn9hi2nt]<div class="fw" id="{CB}" style="font-family: monospace;">REPORT oRpt                                                       ;<br />    ...<br />    GROUP oGrp1                           ;<br />        <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span>TMP->Cuenta,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span>            ;<br />        HEADER <span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span>TMP->Cuenta,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">' '</span>+ACONCUE->Descrip;<br />        FOOTER <span style="color: #ff0000;">'Total :'</span>           ;<br />        <span style="color: #0000ff;">FONT</span> <span style="color: #000000;">5</span><br /><br />    GROUP oGrp2                           ;<br />        <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span>TMP->Cuenta,<span style="color: #000000;">4</span><span style="color: #000000;">&#41;</span>            ;<br />        HEADER <span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span>TMP->Cuenta,<span style="color: #000000;">4</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">' '</span>+ACONCUE->Descrip;<br />        FOOTER <span style="color: #ff0000;">'SubTotal :'</span>           ;<br />        <span style="color: #0000ff;">FONT</span> <span style="color: #000000;">5</span><br /><br />      COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">" "</span>,<span style="color: #ff0000;">"Cuenta"</span>                 ;<br />            <span style="color: #00C800;">DATA</span> TMP->CUENTA                    ;<br />            <span style="color: #0000ff;">FONT</span> <span style="color: #000000;">2</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">9</span><br /><br />      COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">" "</span>,<span style="color: #ff0000;">"Ruc"</span>                    ;<br />            <span style="color: #00C800;">DATA</span> TMP->Ruc                       ;<br />            <span style="color: #0000ff;">FONT</span> <span style="color: #000000;">2</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">15</span>                                                                                                                                                                                 <br />      ...                                             <br />      ...<br /><br />     <span style="color: #0000ff;">ACTIVATE</span> REPORT oRpt ;<br />        <span style="color: #0000ff;">ON</span> STARTGROUP iif<span style="color: #000000;">&#40;</span>len<span style="color: #000000;">&#40;</span>tmp->cuentat<span style="color: #000000;">&#41;</span>=<span style="color: #000000;">8</span>,createnewgroup<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,<span style="color: #000000;">&#41;</span>;<br />        <span style="color: #0000ff;">ON</span> ENDGROUP iif<span style="color: #000000;">&#40;</span>len<span style="color: #000000;">&#40;</span>oRpt:<span style="color: #000000;">aGroups</span><span style="color: #000000;">&#41;</span>=<span style="color: #000000;">3</span>, eval<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#123;</span>||oRpt:<span style="color: #000000;">Delgroup</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#41;</span>, oRpt:<span style="color: #000000;">Stabilize</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span>,<span style="color: #000000;">&#41;</span><br /><br />END REPORT<br /><br /><span style="color: #00C800;">Static</span> <span style="color: #00C800;">Function</span> createnewgroup<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />oGrp3:= TRGroup<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#123;</span>|| <span style="color: #0000ff;">left</span><span style="color: #000000;">&#40;</span>tmp->cuenta,<span style="color: #000000;">8</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>, <span style="color: #000000;">&#123;</span>|| tmp->cuenta+<span style="color: #ff0000;">" "</span>+aconcue->descrip<span style="color: #000000;">&#125;</span>, <span style="color: #000000;">&#123;</span>|| <span style="color: #ff0000;">"Subtotal"</span> <span style="color: #000000;">&#125;</span>, , , oRpt<span style="color: #000000;">&#41;</span> <br />oRpt:<span style="color: #000000;">Stabilize</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">Nil</span><br /><br />THANKS <br /> </div>[/code:gn9hi2nt]
how to make an group in runtime
You have to add the new group to oRpt:aGroups also. Regards, James
how to make listbox smaller
#include "Fivewin.ch" FUNCTION MAIN() LOCAL oDlg, oBrw LOCAL hBmp1 := READBITMAP( 0, "SELECT.BMP" ) LOCAL hBmp2 := READBITMAP( 0, "UNSELECT.BMP" ) USE TEST DEFINE DIALOG oDlg SIZE 400, 300 @ 0, 0 LISTBOX oBrw FIELDS FIELD -> last,; FIELD -> first,; IF( FIELD -> married, hBmp1, hBmp2 ),; ""; HEADERS "LAST", "FIRST", "M", ""; SIZES 100, 100, 16, 0 oBrw:bLClicked = { | nRow, nCol | Cambia( oBrw, nCol ) } ACTIVATE DIALOG oDlg; ON INIT oDlg:SetControl( oBrw ); CENTER CLOSE DELETEOBJECT( hBmp1 ) DELETEOBJECT( hBmp2 ) RETURN NIL STATIC FUNCTION CAMBIA( oBrw, nCol ) IF oBrw:nAtCol( nCol ) = 3 REPLACE FIELD -> married WITH !FIELD -> married oBrw:Refresh( .F. ) ENDIF RETURN NILAfter putting in oDlg:SetControl( oBrw ) the Brw occupies the whole dialogbox, leaving no place to put in a button for "Exit".Without oDlg:SetControl( oBrw ), I can put in the "Exit" button.How do I solve this problem.Thanks
how to make listbox smaller
Hello accwo, try without ON INIT oDlg:SetControl( oBrw )Regards,Otto
how to make listbox smaller
You can use a resource editor and design the dialog however you wish.Regards,James
how to make listbox smaller
>try without ON INIT oDlg:SetControl( oBrw ) It works.Thanks
how to open devtoolswindow from application.
Hi, I need to open devtoolswindows from application. The web page I am working on is not mine and it closed the access to devtoolswindow from the right button menu. I have found this link. [url:u05pwpkm]https&#58;//stackoverflow&#46;com/questions/64981617/how-to-open-devtools-from-code-in-webview2[/url:u05pwpkm] [quote:u05pwpkm]Just call the method OpenDevToolsWindow() of the ICoreWebView2 Interface.[/quote:u05pwpkm] How can I call this method from our TWebView class? Thanks.
how to open devtoolswindow from application.
If I understood correctly, then the cookie window is bothering you? This is for DIV with a bitmap. See his class. Using Eval(document.getElementsByClassName("classname").style.visibility = "hidden"; ), remove it
how to open devtoolswindow from application.
Dear Hakan, I just opened a new issue requesting it: [url:1bxfyqww]https&#58;//github&#46;com/webview/webview/issues/947[/url:1bxfyqww]
how to open devtoolswindow from application.
Working fine! <!-- s:-D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":-D" title="Very Happy" /><!-- s:-D --> New DLLs and EXE example: [url:2upzoiy7]https&#58;//github&#46;com/FiveTechSoft/FWH_tools/blob/master/fivetech_webview&#46;zip[/url:2upzoiy7] [img:2upzoiy7]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/webview_devtools&#46;png?raw=true[/img:2upzoiy7]
how to open devtoolswindow from application.
Please download a new FWH 24.04 build 3 already available
how to open devtoolswindow from application.
Antonio, what changes have been made in build2 and build3 regarding the release of FW23.04 ?
how to open devtoolswindow from application.
[quote="Antonio Linares":2y28x379]Please download a new FWH 24.04 build 3 already available[/quote:2y28x379] What should be changed in TWebView class in order to use this function from dlls? Thanks
how to open devtoolswindow from application.
[quote="Natter":178o97y7]Antonio, what changes have been made in build2 and build3 regarding the release of FW23.04 ?[/quote:178o97y7] Please read whatsnew.txt
how to open devtoolswindow from application.
[quote="Horizon":2pfn6b0y][quote="Antonio Linares":2pfn6b0y]Please download a new FWH 24.04 build 3 already available[/quote:2pfn6b0y] What should be changed in TWebView class in order to use this function from dlls? Thanks[/quote:2pfn6b0y] oWebView:OpenDevToolsWindow()
how to open devtoolswindow from application.
[quote="Antonio Linares":3t5pnu8v][quote="Horizon":3t5pnu8v][quote="Antonio Linares":3t5pnu8v]Please download a new FWH 24.04 build 3 already available[/quote:3t5pnu8v] What should be changed in TWebView class in order to use this function from dlls? Thanks[/quote:3t5pnu8v] oWebView:OpenDevToolsWindow()[/quote:3t5pnu8v] I can't download because my subscription has expired. Do I have to sign up to use this change?
how to open devtoolswindow from application.
Horizon, I have installed the FTDN update, and now it's working. I think if you want to keep up with the latest developments, you need the FTDN update. With webview2 support, many new options are available. Best regards, Otto
how to open devtoolswindow from application.
[quote="Otto":25bt4sb4]Horizon, I have installed the FTDN update, and now it's working. I think if you want to keep up with the latest developments, you need the FTDN update. With webview2 support, many new options are available. Best regards, Otto[/quote:25bt4sb4] I aggree with you Otto. I am also using WebView2 support with 22.06. I also commend the Fwh team for their support. Before update webview dlls (because of closing main window), There is an option in right button menu to enter devtoolswindow like above. [url:25bt4sb4]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/webview_menu_before&#46;png[/url:25bt4sb4] [img:25bt4sb4]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/webview_menu_before&#46;png[/img:25bt4sb4] After new dlls. [url:25bt4sb4]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/webview_menu_after&#46;png[/url:25bt4sb4] [img:25bt4sb4]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/webview_menu_after&#46;png[/img:25bt4sb4] I solved my problem by installing old dlls. Of course, when I allocate budget resources, I will update ftdn.
how to open devtoolswindow from application.
[quote="Horizon":2jegbo4p] I aggree with you Otto. I am also using WebView2 support with 22.06. I also commend the Fwh team for their support. Before update webview dlls (because of closing main window), There is an option in right button menu to enter devtoolswindow like above. [url:2jegbo4p]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/webview_menu_before&#46;png[/url:2jegbo4p] [img:2jegbo4p]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/webview_menu_before&#46;png[/img:2jegbo4p] After new dlls. [url:2jegbo4p]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/webview_menu_after&#46;png[/url:2jegbo4p] [img:2jegbo4p]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/webview_menu_after&#46;png[/img:2jegbo4p] I solved my problem by installing old dlls. Of course, when I allocate budget resources, I will update ftdn.[/quote:2jegbo4p] Hello, how create webview ?, please put a sample
how to open devtoolswindow from application.
[quote="cnavarro":26dt9gi4][quote="Horizon":26dt9gi4] I aggree with you Otto. I am also using WebView2 support with 22.06. I also commend the Fwh team for their support. Before update webview dlls (because of closing main window), There is an option in right button menu to enter devtoolswindow like above. [url:26dt9gi4]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/webview_menu_before&#46;png[/url:26dt9gi4] [img:26dt9gi4]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/webview_menu_before&#46;png[/img:26dt9gi4] After new dlls. [url:26dt9gi4]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/webview_menu_after&#46;png[/url:26dt9gi4] [img:26dt9gi4]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/webview_menu_after&#46;png[/img:26dt9gi4] I solved my problem by installing old dlls. Of course, when I allocate budget resources, I will update ftdn.[/quote:26dt9gi4] Hello, how create webview ?, please put a sample[/quote:26dt9gi4] Hi Mr. Navarro, This is the sample for test (given from Antonio) [code=fw:26dt9gi4]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// Please install <!-- m --><a class="postlink" href="https://developer.microsoft.com/en-us/microsoft-edge/webview2/">https://developer.microsoft.com/en-us/m ... /webview2/</a><!-- m --> x86 version before using it</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oWebView := TWebView<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;oWebView:<span style="color: #000000;">Navigate</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://www.google.com"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oWebView:<span style="color: #000000;">SetTitle</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Microsoft Edge WebView working from FWH"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oWebView:<span style="color: #000000;">SetSize</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1200</span>, <span style="color: #000000;">800</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oWebView:<span style="color: #000000;">SetUserAgent</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Mobile Safari/537.36"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #B900B9;">//oWebView:OpenDevToolsWindow()</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">sleep</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">300</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oWebView:<span style="color: #000000;">Run</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oWebView:<span style="color: #000000;">Destroy</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:26dt9gi4] Compile and test it with both old dlls and new dlls. Thanks.
how to open devtoolswindow from application.
Dear Hakan, It may be something that has changed inside webview.dll. We have not modified FWH code. You may open an issue in [url:16zasd60]https&#58;//github&#46;com/webview/webview[/url:16zasd60] I get this popup here: (I can not understand what your popup says) [img:16zasd60]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/webview_popup&#46;png?raw=true[/img:16zasd60]
how to open devtoolswindow from application.
[quote="Antonio Linares":1q9krnue]Dear Hakan, It may be something that has changed inside webview.dll. We have not modified FWH code. You may open an issue in [url:1q9krnue]https&#58;//github&#46;com/webview/webview[/url:1q9krnue][/quote:1q9krnue] I definitely think the same. Thanks.
how to open devtoolswindow from application.
what menuitem is missing ? I can't understand what you posted...
how to open devtoolswindow from application.
[quote="Antonio Linares":el3rspht]what menuitem is missing ? I can't understand what you posted...[/quote:el3rspht] Hi Antonio, When the right button is pressed in Webview, "Inspect" should appear on the bottom line of the menu that opens. The pictures I sent are in Turkish. Somehow, although my Microsoft Edge browser is in English, I could not make the webview browser in English. It probably accepts windows language. "Inspect" is the Turkish version of "?ncele" in the pictures. As you know, the "Inspect" menuitem opens the devtoolsboxwindow. [url:el3rspht]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/webview_menu_before&#46;png[/url:el3rspht] [img:el3rspht]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/webview_menu_before&#46;png[/img:el3rspht]
how to open devtoolswindow from application.
Dear Hakan, [url:2ssx6ulb]https&#58;//learn&#46;microsoft&#46;com/en-us/microsoft-edge/webview2/how-to/context-menus?tabs=cpp#adding-menu-items-to-a-context-menu[/url:2ssx6ulb] thats not simple at all and it would require some hours (if not days) of coding and debugging
how to open devtoolswindow from application.
Implemented <!-- s:-D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":-D" title="Very Happy" /><!-- s:-D --> [img:gybh5ssc]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/webview_popup_inspect&#46;png?raw=true[/img:gybh5ssc]
how to open devtoolswindow from application.
Thank you Antonio, Mr. Navarro, I have solved my problem. I think default nDebug is changed in webview. [code=fw:3s5iwqi6]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// Please install <!-- m --><a class="postlink" href="https://developer.microsoft.com/en-us/m">https://developer.microsoft.com/en-us/m</a><!-- m --> ... /webview2/ x86 version before using it</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> oWebView := TWebView<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>     <------ HERE<br /><br />   oWebView:<span style="color: #000000;">Navigate</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://www.google.com"</span> <span style="color: #000000;">&#41;</span><br />   oWebView:<span style="color: #000000;">SetTitle</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Microsoft Edge WebView working from FWH"</span> <span style="color: #000000;">&#41;</span><br />   oWebView:<span style="color: #000000;">SetSize</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1200</span>, <span style="color: #000000;">800</span> <span style="color: #000000;">&#41;</span><br />   oWebView:<span style="color: #000000;">SetUserAgent</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Mobile Safari/537.36"</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #B900B9;">//oWebView:OpenDevToolsWindow()</span><br />   <span style="color: #0000ff;">sleep</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">300</span> <span style="color: #000000;">&#41;</span><br />   oWebView:<span style="color: #000000;">Run</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   oWebView:<span style="color: #000000;">Destroy</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:3s5iwqi6] TWebView():New(1) I apologize for the inconvenience I have caused. Thanks.
how to open devtoolswindow from application.
Dear Hakan, Very good finding! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> > local oWebView := TWebView():New( 1 ) // shows the "inspect" menu item thank you
how to open multiple ports
how to open multiple ports simultaneously? if I try: nCom1 := OpenComm( "COM1", 1024 , 128) nCom2 := OpenComm( "COM2", 1024 , 128) then nCom1=1 nCom2=1
how to open multiple ports
OpenPort() return handle of port try: COM_OPEN(1) COM_OPEN(2) Be sure that you have both of com ports installed in operating system Function COM_OPEN(xPORT) Local pNAME Local nError,cDCB Local xRESZTA:=.T. Do Case Case xPORT=1 pNAME:="COM1" Case xPORT=2 pNAME:="COM2" Case xPORT=3 pNAME:="COM3" Case xPORT=4 pNAME:="COM4" Case xPORT=5 pNAME:="COM5" Case xPORT=6 pNAME:="COM6" Case xPORT=7 pNAME:="COM7" Case xPORT=8 pNAME:="COM8" Case xPORT=9 pNAME:="COM9" EndCase hPORT:= OpenComm( pNAME, 2048, 2048 ) If ! BuildCommDcb( pNAME+cSPEED, @cDcb ) nError = GetCommError( hPORT ) MsgInfo( "BuildCommDcb Error: " + Str( nError ) ) xRESZTA:=.F. EndIf If ! SetCommState( hPORT, cDcb ) nError = GetCommError( hPORT ) MsgInfo( "SetCommState Error: " + Str( nError ) ) xRESZTA:=.F. EndIf If xRESZTA oWND:oMSGBAR:cMSGDEF:=PNAME+" : Opened" oWND:oMSGBAR:Refresh(.T.) Else oWND:oMSGBAR:cMSGDEF:=PNAME+" : Error" oWND:oMSGBAR:Refresh(.T.) EndIf Return xRESZTA
how to open multiple ports
The problem is that nCom1 and nCom2 have the same value. It is necessary that this value is different.
how to open multiple ports
Try to use my example and check what BuildCommDcb and GetCommError will say.
how to open multiple ports
definite problem is that it functions opncomm (.....) always returns the value 1. Why!? I do not know! I use FWH6.12
how to open multiple ports
[quote="mtajkov":2ks3oxen]I use FWH6.12[/quote:2ks3oxen] Sorry but this is a way older FHW release. I don't think Fivetech is able to support it. EMG
how to prevent a processes from being terminated
Hello, is there a way to prevent a processes from being terminated. Thank you in advance Otto
how to prevent a processes from being terminated
Maybe: [url:3ubjqccy]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=34126&start=0&hilit=ENDSESSION[/url:3ubjqccy]
how to restart an app
Hello: I have an application and I want to finish and restart it again. This is needed in situations like change language in menus or similar things, but I don't know how to do it. Any sugestion ? Regards, José Luis
how to restart an app
Using an external EXE or BAT? EMG
how to restart an app
No, I want to do with the same exe. Imagine you allow the user to select the language of the app, and you have your menus with i18n() calls... you have to reinit the app to achieve the menus on the new language selected. It's pretty smart if the app reinit for itself, not need the user doubleclick the icon again. I want this to do my Colossus - <!-- m --><a class="postlink" href="http://www.alanit.com/programas/colossus.php">http://www.alanit.com/programas/colossus.php</a><!-- m --> - multilingual <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> Regards,
how to restart an app
I not tryed , but : Start the aplication with a batch file with as content : YourExe.exe CALL YoutBatch.bat Then you have the possibilty to change YourBatch.bat from in the aplication and after that close the aplication Frank
how to restart an app
[quote="José Luis Sánchez":327hzb0x]No, I want to do with the same exe. Imagine you allow the user to select the language of the app, and you have your menus with i18n() calls... you have to reinit the app to achieve the menus on the new language selected. It's pretty smart if the app reinit for itself, not need the user doubleclick the icon again. I want this to do my Colossus - <!-- m --><a class="postlink" href="http://www.alanit.com/programas/colossus.php">http://www.alanit.com/programas/colossus.php</a><!-- m --> - multilingual <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> Regards,[/quote:327hzb0x] What is "i18n() calls"? Anyway, it should be possible to change the menu items language without restarting the EXE. Why do you want to restart the EXE? EMG
how to restart an app
Jose Luis: You can call another fw application that calls your exe again, with a non visible window and then exit as the only task to do. In your fw program you call this exe and quits. The new application can activate a timer to wait a few seconds before execute the other program, if necessary. Regards,
how to restart an app
Enrico: the i18n() calls are the way to internazionalizate the app using the tools provided with xharbour. Daniel: I know the way to do it, but I want to do it with the same app. Regards,
how to scan a barcode presents in a jpeg file
Hi, I have a jpeg file that contains a barcode Is it possible to create a function to which passed the file name as parameter manages to open it and interpret the barcode code? [url:2aurryu3]http&#58;//www&#46;marcoboschi&#46;it/public/barcode&#46;jpg[/url:2aurryu3] [img:2aurryu3]http&#58;//www&#46;marcoboschi&#46;it/public/barcode&#46;jpg[/img:2aurryu3] many thanks
how to scan a barcode presents in a jpeg file
Hola, ¿tienes un lector de código de barras de teclado? Si lee, puede usar HBCOMM.LIB para leer cualquier GET. Hello, do you have a Keyboard Barcode READER? If it reads, you can use HBCOMM.LIB to read any GET. Regards, saludos.
how to scan a barcode presents in a jpeg file
Para probar, utilice el Keyboard Reader mediante el comando PROMPT, o en cualquier editor de texto tipo EditPad.exe para ver si el código sale intacto en el editor o en el comando PROMPT. To test, use the Keyboard Reader via command PROMPT, or in any text editor type EditPad.exe to see if the code comes out intact in the editor or in the command PROMPT. Regards, saludos.
how to scan a barcode presents in a jpeg file
Do mean that the images will be read and that you want to read the barcode without scanning it with a barcode reader ? Not seen this in the forum. Scanning is like Karinha says. We can provide a sample if needed.
how to scan a barcode presents in a jpeg file
hi, you can use GetPixel() Function to read each Pixel of a Image. while Barcode have only B/W Result is easy to identify but it is a very slow Solution
how to scan a barcode presents in a jpeg file
Marco, You can use the OpenCV (open computer vision) library to do it: [url:2i2ni1dr]https&#58;//github&#46;com/dnosit/python-opencv-barcode-automation[/url:2i2ni1dr] [url:2i2ni1dr]https&#58;//www&#46;pyimagesearch&#46;com/2018/05/21/an-opencv-barcode-and-qr-code-scanner-with-zbar/[/url:2i2ni1dr] Please search for opencv on these forums to review other posts about it and how to use it from Harbour
how to scan a barcode presents in a jpeg file
This is a shared google colab doc with the code to review it and run it right there: [url:1mwld7av]https&#58;//colab&#46;research&#46;google&#46;com/drive/11afb45vJxBq0pCcwuYxsTP4vfPHHgVDK?usp=sharing[/url:1mwld7av] Once you get it running there, then you can call it from Harbour
how to scan a barcode presents in a jpeg file
Working with a right barcode, and it detects multiple barcodes <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> two lines of code do the magic: frame = cv2.imread( 'marco.jpg' ) barcodes = pyzbar.decode( frame ) it properly detects the right one: 1 1234567890128 EAN13 [img:2kqyj1w6]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/opencv_barcodes&#46;jpg?raw=true[/img:2kqyj1w6]
how to scan a barcode presents in a jpeg file
Marco, zbar library for C++: (opencv only supports C++) [url:2lgp091m]http&#58;//zbar&#46;sourceforge&#46;net/download&#46;html[/url:2lgp091m] combining opencv and zbar you can do it. Google colab let us quickly test opencv (most examples are in python and C++) and then, once you are satisfied with the results, the code gets ported to C++ or you call python from your Harbour app Here we have a full example in C++, but we can simplify it very much: [url:2lgp091m]https&#58;//stackoverflow&#46;com/questions/56068886/how-to-configure-c-zbar-scanner-to-decode-only-qr-code-data-type[/url:2lgp091m]