Search found 226 matches

by Giovany Vecchi
Thu Apr 03, 2025 6:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: UTF-8 con BOM
Replies: 7
Views: 2088

Re: UTF-8 con BOM


´
cHtml := Strtran(cHtml,_CodeUtf8Bom_,chr(239)+chr(187)+chr(191))


Error occurred at: 04/03/25, 09:18:56
Error description: Error BASE/1003 Variable does not exist: _CODEUTF8BOM_

Stack Calls
===========
Called from: Source\test.prg => HTML( 95 )
Called from: Source\test.prg => MAIN( 19 ...
by Giovany Vecchi
Mon Mar 31, 2025 10:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: UTF-8 con BOM
Replies: 7
Views: 2088

Re: UTF-8 con BOM

Try this

Code: Select all | Expand

 TEXT INTO cHtml
_CodeUtf8Bom_
      <!DOCTYPE html>
      <html lang="it">
      <head>
         <meta charset="UTF-8">
ENDTEXT

cHtml := Strtran(cHtml,_CodeUtf8Bom_,chr(239)+chr(187)+chr(191))
by Giovany Vecchi
Sat Mar 22, 2025 1:35 am
Forum: FiveWin for Harbour/xHarbour
Topic: ADSODBC and OpenSSL
Replies: 2
Views: 1092

Re: ADSODBC and OpenSSL

Hi, it's better to use OleDb.
Look at this link which has options to connect to the AdvantageDatabase Server in several ways.

https://www.connectionstrings.com/sybase-advantage/
by Giovany Vecchi
Sun Nov 17, 2024 1:43 pm
Forum: FiveWin for Harbour/xHarbour
Topic: emulate CTRL+V
Replies: 7
Views: 1747

Re: emulate CTRL+V

Try using WScript

Code: Select all | Expand

lc_oShell := tOleAuto():New( "WScript.Shell" )
lc_oShell:SendKeys("^V")
 
by Giovany Vecchi
Sun Nov 10, 2024 12:47 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ButtonBmp does not work popup menus
Replies: 7
Views: 1247

Re: ButtonBmp does not work popup menus

How do I put a pop up menu on a button of the TButtonBmp class?

Only TBtnBmp supports oPopupMenu natively in addition to bAction.
TButtonBmp or its parent class TButton, do not natively support oPoupMenus.
In the case of these buttons, we can use ACTION clause to show popup menus.

This is a ...
by Giovany Vecchi
Sat Nov 09, 2024 4:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ButtonBmp does not work popup menus
Replies: 7
Views: 1247

Re: ButtonBmp does not work popup menus

João, é ButtonBmp e não BtnBmp

John, it's ButtonBmp and not BtnBmp
by Giovany Vecchi
Thu Nov 07, 2024 8:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ButtonBmp does not work popup menus
Replies: 7
Views: 1247

ButtonBmp does not work popup menus

How do I put a pop up menu on a button of the TButtonBmp class?
I'm doing it like this:

MENU ::oMenuPlanejamentos POPUP 2015

MENUITEM lc_oaMnuItensPlanejamentos[1] Prompt "Imprimir Planejamento" ;
Resource "B16M_PRINTERNORMAL" ;
OF ::oMenuPlanejamentos

lc_oaMnuItensPlanejamentos[1 ...
by Giovany Vecchi
Fri Nov 01, 2024 1:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ADS Question
Replies: 10
Views: 2516

Re: ADS Question

To purchase ads licenses look here.

https://www.sap.com/brazil/products/tec ... html#plans
by Giovany Vecchi
Wed Oct 09, 2024 4:54 pm
Forum: FiveWin for Harbour/xHarbour
Topic: pixel on print
Replies: 5
Views: 810

Re: pixel on print

Hi Silvio, Try this way.

PRINT oPrn PREVIEW
nOffsetY := oPrn:nlogpixely()/2.54 // Offset verticale per i quadratini
nOffsetX := oPrn:nlogpixelx()/2.54 // Offset orizzontale per i quadratini
nPixelLarghezza := nOffsetX // Larghezza del pixel in mm
nPixelAltezza := nOffsetY // Altezza del pixel ...
by Giovany Vecchi
Tue Oct 08, 2024 2:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 59
Views: 17299

Re: Browse of my ADO Class

Em Português
Grande José Quintas. Fico feliz de você adquirir o FW e participar desta maravilha de ferramenta conosco.

Uma instância multithreading cria outro processo de escalotamento na memória e os dialogos criados no FW tem como referência a instância do handle da janela principal WNDMAIN ...
by Giovany Vecchi
Wed Aug 28, 2024 5:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: WebView2 example using tMyEdgeWeb class
Replies: 10
Views: 3024

Re: WebView2 example using tMyEdgeWeb class

https://github.com/FiveTechSoft/FWH_tools/blob/master/GVContrib.7z

on EXE there is a virus
Avira blocked this file MyEdgeWebSample.exe


https://i.postimg.cc/rmv2FzPr/ss.png

https://i.postimg.cc/dtYgHMPw/s1.png

Hi Silvio.
If you have Visual Studio installed, just edit the BAT CompilaeMsvc ...
by Giovany Vecchi
Tue Aug 27, 2024 11:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic: WebView2 example using tMyEdgeWeb class
Replies: 10
Views: 3024

Re: WebView2 example using tMyEdgeWeb class

I have added another example using the tAwaitWeb class by Charles Kwon to fill in some elements of the page with values.

See the link below.

https://drive.google.com/file/d/1LuJ8vP ... sp=sharing
by Giovany Vecchi
Fri Aug 23, 2024 4:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: WebView2 example using tMyEdgeWeb class
Replies: 10
Views: 3024

Re: WebView2 example using tMyEdgeWeb class

Antonio Linares wrote:Dear Giovany,

The download url does not work properly.

Can you post the source code here ? thank you
Antonio, what's your email?
I'll send it to you.
by Giovany Vecchi
Fri Aug 23, 2024 4:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic: WebView2 example using tMyEdgeWeb class
Replies: 10
Views: 3024

WebView2 example using tMyEdgeWeb class

Hello everyone.
I made a class to navigate the web using WebView2.
Any feedback is welcome.

Para baixar clique aqui: https://www.sendspace.com/file/zek6p3

Image