Search found 465 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: 1134

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: 1134

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: 1134

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: 1134

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: 388

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: 16850

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 .
by ShumingWang
Sat Jun 11, 2022 2:59 am
Forum: mod_harbour
Topic: Dialog or Form
Replies: 4
Views: 10613

Re: Dialog or Form

Mr Otto,
Could you send me sample source to my Email 100200651@qq.com ?
Thank you!
Shuming Wang
by ShumingWang
Thu Jun 02, 2022 8:51 am
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: mod harbour - The first milestone is reached

Great!
by ShumingWang
Wed Jun 01, 2022 8:36 am
Forum: mod_harbour
Topic: A big hit: Neither Apache and mod_harbour are needed
Replies: 4
Views: 28243

Re: A big hit: Neither Apache and mod_harbour are needed

Execiting ! Hope turn out soon!
Shuming Wang
by ShumingWang
Thu Jun 03, 2021 10:49 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: ? 235.1234/100 == 2.35

Thanks !
Shuming Wang
by ShumingWang
Thu Jun 03, 2021 11:47 am
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

? 235.1234/100 == 2.35

Hi,
Harbour/Clipper:
? 235.1234/100
2.35 not 2.351234
Any express return 2 decimals .

Mysql : select 235.1234/100
2.35123400

Regards!
Shuming Wang
by ShumingWang
Mon Apr 19, 2021 2:28 am
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Xbrowse : Setup configuration file

change the original Xbrowse code.

Shuming Wang
by ShumingWang
Sat Apr 17, 2021 12:11 am
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Xbrowse : Setup configuration file

1.
data osettingbmp
method helpmenu()
2.
METHOD New( oWnd ) CLASS TXBrowse
...
::hBmpRecSel := FwRArrow()

// add the lines
::osettingbmp:=TBitmap():Define( "config",,::oWnd)
::osettingbmp:ltransparent:=.t.



3.
METHOD Paint() CLASS TXBrowse
...
PalBmpDraw( ::hDC, (::nHeaderHeight - 3-if ...
by ShumingWang
Wed Jul 15, 2020 1:14 am
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: TGet bug (unicode)

Mr. Liao/SSBBS:
Long time not met, Still OK?
by ShumingWang
Sat Feb 15, 2020 3:06 am
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Borland workshop error "new field instance failed"

Hi , Sometimes I edit a dialog "edit as text",add a space or some controls. close, shows the error : "new field instance failed".
TkS !
Shuming Wang