Search found 723 matches: create

Searched query: create

by Otto
Sun Jan 12, 2025 8:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: talk to your database using natural language
Replies: 1
Views: 15

Re: talk to your database using natural language

... Query and JSON Transformation Tool


You simply enter the database path and name, the fields that should go into the JSON, and then let ChatGPT create the query function for you, e.g.:



For example, I could say: Only output bookings from August 25, 2024, and rename the field to "Reservation ...
by TimStone
Thu Jan 09, 2025 11:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Excel functions
Replies: 0
Views: 106

Excel functions

... creating the spreadsheets without Excel present but I can no longer find it.

So, It would be nice if we could get a summary here of how we can create, read, edit, and save Excel files without having Microsoft's program on that specific computer. With all the changes to the Office 365 programs, it ...
by Silvio.Falconi
Thu Jan 09, 2025 12:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Btnbmp with a line
Replies: 5
Views: 231

Btnbmp with a line

is it possible to create a dividing line between the image and the text in a btnbmp?

example

https://i.postimg.cc/DwYGn8n9/btnbmp.png


if there is no image the text must be in the center without the line

https://i.postimg.cc/5N4Qzw0c/g.png

I saw that if I upload an image on a white background ...
by Otto
Wed Jan 08, 2025 7:54 am
Forum: mod_harbour
Topic: learn mod_harbour
Replies: 3
Views: 114

Re: learn mod_harbour

... at the moment, because you can use mod_harbour and have virtually no learning curve on the backend. After some time, you’ll gain the expertise to judge for yourself.

Just let me know what kind of program you roughly want to create. I’d be happy to help.

Best regards,
Otto

PS: Are you from Italy?
by mauri.menabue
Wed Jan 08, 2025 1:17 am
Forum: mod_harbour
Topic: learn mod_harbour
Replies: 3
Views: 114

learn mod_harbour

... starting initially from how to prepare the development and test environment, I have seen that you recently talked about an economic manager to create a cloud environment. I believe that the key to spreading mod_harbour is to treat the topic in a practically kindergarten-like way, at least for me ...
by Otto
Tue Jan 07, 2025 11:13 pm
Forum: FiveWin for Harbour/xHarbour
Topic: AC4xBrowse
Replies: 13
Views: 884

Re: AC4xBrowse

... to automatically generate the mapping blocks using ChatGPT. At least with the blocks I tested, it works.
It would now also be possible to create mapping blocks for the redefine blocks.

However, since there is no interest in Autocode, and I do not work with resources myself and therefore do ...
by karinha
Tue Jan 07, 2025 2:15 pm
Forum: FiveWin para Harbour/xHarbour
Topic: CODIGO QR EN DOCUMENTO CON TPRINTER
Replies: 10
Views: 400

Re: CODIGO QR EN DOCUMENTO CON TPRINTER

... hDib
LOCAL nZeroZeroClr
LOCAL ogbmp := GdiBmp():new()
LOCAL nHeight := 248
LOCAL nWidth := 248
LOCAL cUrl := "http://api.qrserver.com/v1/create-qr-code/?data="
LOCAL nQuality := 1

cUrl += GetSafeURL( hb_strtoutf8( cCode ) )
cUrl += "&size=" + alltrim( str( nWidth ) ) + "x" + alltrim ...
by Silvio.Falconi
Tue Jan 07, 2025 9:15 am
Forum: FiveWin for Harbour/xHarbour
Topic: Touchscreen interface
Replies: 0
Views: 171

Touchscreen interface

I created a test dialog using these measurements

local nHt := Int( ScreenHeight() + 100 )
local nWd := Int( ScreenWidth() )

but does this work for all resolutions?

that is, if I run the test on a 10" laptop do I have the same configuration?

in this dialog i have a lot of btnbmp controls, how ...
by Antonio Linares
Mon Jan 06, 2025 10:16 am
Forum: FiveWin for Harbour/xHarbour
Topic: OpenAI vision API from FWH
Replies: 10
Views: 678

Re: OpenAI vision API from FWH

... 2. **Native Installation**:
- Use the official Ollama installer:
```bash
curl -fsSL https://ollama.com/install.sh | sh
```
- This will create a service to run `ollama serve` at startup, allowing you to use the `ollama` command immediately.

3. **Using Docker Containers**:
- You can run ...
by Antonio Linares
Thu Jan 02, 2025 3:16 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Stored Procs + Tdolphin
Replies: 2
Views: 253

Re: Stored Procs + Tdolphin

... Procedures
Creamos el procedimiento almacenado desde el cliente mysql de nuestra preferencia


DELIMITER $
DROP PROCEDURE IF EXISTS born_in_year;
CREATE PROCEDURE born_in_year( year_of_birth INT )
BEGIN
SELECT first_name, last_name, birth, death from president where year( birth ) = year_of_birth ...
by Antonio Linares
Thu Jan 02, 2025 10:31 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using Tget and Cuebanner
Replies: 24
Views: 822

Re: Using Tget and Cuebanner

Dear Marc,

You can provide that screenshot to chatgpt and ask it to create the RC file and the header file, unless you don't want to use RCs and want to fully build it from source code:

test.rc
#include "resource.h"

IDD_CARTOLERIA_DIALOG DIALOGEX 0, 0, 400, 300
STYLE WS_CAPTION | WS_SYSMENU ...
by Otto
Mon Dec 30, 2024 4:13 pm
Forum: FiveWin for Harbour/xHarbour
Topic: PrinterInfo with Powershell
Replies: 3
Views: 255

Re: PrinterInfo with Powershell

Hello João,
I use ps1 files for many tasks, especially for installing servers, and have automated many tasks with them.
You need to create the directory. You could use c:\temp, for example.
Best regards,
Otto

c:\fwh\samples\psfiles\
by JoséQuintas
Fri Dec 27, 2024 5:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 59
Views: 7517

Re: Browse of my ADO Class

... oFrm, cKeyboard, cOption, pThread, x

x := xFrmName

IF AppUserLevel() == 0
pThread := ;
hb_ThreadStart( { || ;
hb_gtReload( "WVG" ), ;
CreatePubMT( x ), ;
cKeyboard := FWBrowseADO( @cnSQL, @oTBrowse, cFilterKey, bKeyboard, bUserFunction, ;
nFixToCol, aAdoFilterList, aBtnList ...
by JoséQuintas
Sat Dec 21, 2024 8:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 59
Views: 7517

Re: Browse of my ADO Class

... WVG" )
IF lIsWVG
SetMode(25,80)
CLS
ENDIF
Eval( bCode )

RETURN Nil


Because fivewin make changes on current gtwvg window, then I create a fake gtwvg window to be changed by fivewin.
Some libraries can lock previous window, (like dialog modal), fake gtwvg window can be locked without ...
by Antonio Linares
Thu Dec 19, 2024 8:22 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Compilar con hmbk2 es complicado, pero...
Replies: 89
Views: 14056

Re: Compilar con hmbk2 es complicado, pero...

... C5_ISAPPTHEMED(), C5_ISTHEMEACTIVE(),
C5_OPENTHEMEDATA(), COMPATBMP(), COMPATDC(), CREAFBOLD(), CREAFCAPT(),
CREAFUNDER(), CREATECAPTIONFONT(), CREATECOMPATIBLEBITMAP(),
CREATECOMPATIBLEDC(), CREATEFONTBOLD(), CREATEFONTUNDERLINE(),
DRAWEDGE(), DRAWMASKEDCOLOR(), DRAWSTATE ...