Search found 35 matches: practice

Searched query: practice

by Otto
Tue Oct 29, 2024 7:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Adjusting the setup program
Replies: 1
Views: 346

Adjusting the setup program

... by switching between access points). New ideas, not just a 1:1 conversion of the old system to a web application. Ideas from Andi—from real-world practice. Kill two birds with one stone: a cash register, a clean setup, the same keyboard, a modern look.


A clean setup has been a topic for a long ...
by Silvio.Falconi
Thu Oct 17, 2024 7:23 am
Forum: FiveWin for Harbour/xHarbour
Topic: a math formula - RESOLVED -
Replies: 8
Views: 899

Re: a math formula

... I don't exactly know the use of nFixedProfit and nFixedUse.
And why there are 0.5 steps by 4 and by 5.

Regards, Detlef


I'll explain to you in practice that lottery players play following specific rules, imagine that you want to play the lottery and have a budget of €100, you decide to make at ...
by Otto
Wed Sep 25, 2024 9:03 am
Forum: FiveWin for Harbour/xHarbour
Topic: slowness
Replies: 76
Views: 11990

Re: slowness

Michel,

good to hear that this works in practice as well.
I didn't even know that such large fields could be used.

But now that I'm working more with the DBF format due to the php4dbf low-level access, there really seems to be no limit here.
Thank you for sharing this idea.

I bypass the FTP ...
by Otto
Mon Sep 16, 2024 7:58 am
Forum: FiveWin for Harbour/xHarbour
Topic: slowness
Replies: 76
Views: 11990

Re: slowness

... mentioned above, it takes around 500 ms, and reading the indexed records takes another 25 ms if I display 20 results per browser page.
In practice, this is just as fast as using xbrowse().

I’m convinced that we need to move away from using indexes.

We should divide the DBF files better ...
by mauri.menabue
Thu Sep 05, 2024 9:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Error in sample program : TESTRTF5
Replies: 5
Views: 888

Error in sample program : TESTRTF5

Hi everyone
I wanted to practice using the richedit5 class so I compiled
the following program: testrtf5 however in the case
of the search this error appears:
Application
===========
Path and name: d:\fwh\samples\testrtf5.exe (32 bits)
Size: 4,952,064 bytes
Compiler version: Harbour 3.2.0dev ...
by Silvio.Falconi
Mon Jun 03, 2024 10:41 am
Forum: FiveWin for Harbour/xHarbour
Topic: appear get and say
Replies: 3
Views: 403

appear get and say

... 2] and aGet[4]
and before oSay[4] oSay[3 ] and aGet[3] must be displayed
and therefore oSay[4] and aGet[6] must be moved one line i.e. down

in practice without radio =1

https://i.postimg.cc/15KQCJLH/2.png




if nradio =2

https://i.postimg.cc/DZbhxFTJ/1.png

How I can resolve ?



#include ...
by byron.hopp
Thu May 23, 2024 6:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Socket Programming good practice
Replies: 3
Views: 618

Re: Socket Programming good practice

I am using tsocket from Fivewin, is that not recommended any more? This works, it just uses waits which I always frown upon.


function InitializeSonyPro( nListenPort,cBraviaIp )
Local oSocket := nil

oSocket = TSocket():New( nListenPort )
oSocket:Connect( cBraviaIp )
SysWait( 1 ) // wish I ...
by Silvio.Falconi
Thu May 23, 2024 8:19 am
Forum: FiveWin for Harbour/xHarbour
Topic: Socket Programming good practice
Replies: 3
Views: 618

Re: Socket Programming good practice

Dear Byron,

Here you have a good example of using Harbour's sockets:
https://github.com/FiveTechSoft/wsserver/blob/master/wsserver.prg



I don't know if it's the same thing but I would have to synchronize a warehouse that is in my school and another that is located in another location and I ...
by Antonio Linares
Thu May 23, 2024 5:01 am
Forum: FiveWin for Harbour/xHarbour
Topic: Socket Programming good practice
Replies: 3
Views: 618

Re: Socket Programming good practice

Dear Byron,

Here you have a good example of using Harbour's sockets:
https://github.com/FiveTechSoft/wsserve ... server.prg
by byron.hopp
Wed May 22, 2024 10:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Socket Programming good practice
Replies: 3
Views: 618

Socket Programming good practice

I just started building an app to interact with Sony Pro TV's via ethernet. I have been able to initialize the tv and bring them up but I have to use syswait after all calls to the socket. Upon connecting to the TV it returns 4 messages all about 22 bytes each. Is there a way to determine when the ...
by nageswaragunupudi
Mon May 20, 2024 3:59 am
Forum: FiveWin for Harbour/xHarbour
Topic: DbCopyStruct
Replies: 4
Views: 494

Re: DbCopyStruct

Both dbCopyStruct() and __dbCopyStruct() (with the same functionality) are supported only by xHarbour.
Harbour provides __dbCopyStruct() only.

My humbles submission:
It is always a good practice to use COMMAND syntax where available
We will not get into these problems
eg:

Code: Select all | Expand

COPY STRUCTURE TO cnewdbf
by Silvio.Falconi
Tue May 14, 2024 7:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: send an email using the Outlook object
Replies: 5
Views: 837

Re: send an email using the Outlook object

... samples available.

I will do as you suggested: create an HTML file, replace the placeholders within it, and then send the HTML using PHP. In practice, it is more or less the same code as with Outlook.

However, for my purpose, it is important that the pictures arrive at the recipient's address ...
by Otto
Tue May 14, 2024 7:46 am
Forum: FiveWin for Harbour/xHarbour
Topic: send an email using the Outlook object
Replies: 5
Views: 837

Re: send an email using the Outlook object

... samples available.

I will do as you suggested: create an HTML file, replace the placeholders within it, and then send the HTML using PHP. In practice, it is more or less the same code as with Outlook.

However, for my purpose, it is important that the pictures arrive at the recipient's address ...
by Otto
Sat Mar 09, 2024 8:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 3012

Re: WebView resize

Dear Antonio,
thank you very much.
With these new, many possibilities, it's not that simple and requires a lot of practice.
But it's really fun.
Responsive: a problem that is cumbersome to solve with desktop controls is easy with the WebView.
Thanks again.
I wish you a nice weekend.
Best regards,
Otto ...
by nageswaragunupudi
Sat Mar 02, 2024 2:27 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Por qué el error en este SELECT?
Replies: 9
Views: 1581

Re: Por qué el error en este SELECT?

With ADO we can use MoveFirst(), Move(), etc. when the recordset is empty.
It is the normal practice to check (whether fivewin, vb, c#, etc)


oRs := FW_OpenRecordSet( ... )
if oRs == nil
? "failed to open"
else
if oRs:RecordCount() = 0
? "recorset is empty. No records"
else
oRs:MoveFirst ...