Search found 6 matches

by ShumingWang
Tue Nov 05, 2024 3:11 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to add 2d barcode to fastreport or fwh/harbour?
Replies: 7
Views: 919

Re: How to add 2d barcode to fastreport or fwh/harbour?

1.1 Download zint.exe from https://sourceforge.net/projects/zint/files/zint/
New version is 2.13
1.2
fastreport--page: image type cell -- Code page:

procedure Picture12OnBeforePrint(Sender: TfrxComponent);
begin
callhbfunc('fr3img3',[trim(<masterdata."model">)+',sub']) ;
LoadImageFromHbVar ...
by ShumingWang
Fri Nov 01, 2024 2:24 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to add 2d barcode to fastreport or fwh/harbour?
Replies: 7
Views: 919

Re: How to add 2d barcode to fastreport or fwh/harbour?

1. Download zint.exe from https://sourceforge.net/projects/zint/files/zint/

WaitRun("zint.exe -d "+csourcestr+" -b 58 -o "+cdir) encode csourcestr:"abcd12345" to directory cdir+"\out.bmp", 58 is 2 demention coderbar brcode .

2.
implib -ae zint.lib zint.dll

#include <zint.h>
int load2dc(char *argv ...
by ShumingWang
Tue Oct 15, 2024 1:45 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to add 2d barcode to fastreport or fwh/harbour?
Replies: 7
Views: 919

Re: How to add 2d barcode to fastreport or fwh/harbour?

1.
FUNCTION img2dbarcode()
local h2d
private hlib
hLib = LOADLIBRARY( "zint.dll" )

h2d:=ZBarcode_Create()
//// h2d should has datas: symbology,height,width,bitmap,...
?h2d:symbology
// error: method symbology does not exsist

ZBarcode_Encode_and_buffer(h2d,"abc45",5,0)
//error: will ...
by ShumingWang
Tue Oct 08, 2024 12:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to add 2d barcode to fastreport or fwh/harbour?
Replies: 7
Views: 919

How to add 2d barcode to fastreport or fwh/harbour?

I searched 2 schemes about add 2d barcode to fastreport
1. add the files into app.exe folder and input into fastreport , then you can direct designt it as a text,a imgge etc.
http://www.pudn.com/Download/item/id/2228698.html
https://download.csdn.net/download/julyxday/4475756#:~:text=FastRepo ...
by ShumingWang
Wed Jul 10, 2024 2:10 am
Forum: FiveWin for Harbour/xHarbour
Topic: MySql Transaction and oRs:Save()
Replies: 2
Views: 357

Re: MySql Transaction and oRs:Save()

if set autocommit=0;
//oserver:query("set autocommit=0")
oserver:query(" start transaction")
... update/sve/insert/delete sql

if ... error
oserver:query("rollback")

else
oserver:query("commit")

end
//
if set autocommit=1;
... single sql include commit /rollback
by ShumingWang
Wed Aug 02, 2023 3:08 am
Forum: FiveWin for Harbour/xHarbour
Topic: Lost connection to MySQL server during query
Replies: 40
Views: 15862

Re: Lost connection to MySQL server during query

Some viruses or trojans can cut down connection.
Your connecting line may with serious problem, our customers use tmysql 20 years with no the problem in normal via bandwidth >0.2M bits .