Search found 36 matches

by Surasak
Wed Dec 04, 2024 9:59 am
Forum: FiveWin for Harbour/xHarbour
Topic: Incorrect Font Display
Replies: 17
Views: 6446

Re: Incorrect Font Display

Dear nageswaragunupudi,

My ANSI Program work fine on FW17 and older, Just found this problem on FW24 with BCC7.70
In THAI character TIS-620 and Window 874 character in my sample cannot combine

Please see the picture at link below:

http://www.asic-net.com/temp/Font-1.jpg
http://www.asic-net.com ...
by Surasak
Sun Dec 01, 2024 2:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: Incorrect Font Display
Replies: 17
Views: 6446

Re: Incorrect Font Display

Dear nageswaragunupudi,

As below is the sample of my Unicode Program with GET cannot enter THAI character if variable = nil at first

#include "FiveWin.ch"
function Main
local oWnd
public cFont0,oFont0,cName,oName
FW_SetUnicode( .T. )
HB_SETCODEPAGE( "UTF8" )
cFont0="Tahoma"

*cName = space ...
by Surasak
Sat Nov 30, 2024 1:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Incorrect Font Display
Replies: 17
Views: 6446

Re: Incorrect Font Display

Dear nageswaragunupudi,

Sorry for my fault, In case Unicode class MENU display incorrect , I found that I can assign FONT to this class to correct the font

I found some part of my Unicode program have to store space() to variable before take the value from database to variable ,
If not, GET ...
by Surasak
Sat Nov 30, 2024 7:52 am
Forum: FiveWin for Harbour/xHarbour
Topic: Incorrect Font Display
Replies: 17
Views: 6446

Re: Incorrect Font Display

Dear nageswaragunupudi,

for my regular ANSI Program
? GetOEMCP(), GetACP(), HB_CDPSELECT() = 874,874,EN

for my Unicode Program
? GetOEMCP(), GetACP(), HB_CDPSELECT() = 874,874,UTF8

Thank you very much for your support
in case you want to contract direst, my e-mail is surasak@asic-net.com
by Surasak
Sat Nov 30, 2024 5:42 am
Forum: FiveWin for Harbour/xHarbour
Topic: Incorrect Font Display
Replies: 17
Views: 6446

Re: Incorrect Font Display

Thank You So Much nageswaragunupudi,

Yes, That is my problem, It happen when enter 2 of character ascII higher than 127, But If enter 1 or more than 2 character it will not happen.
My last version is FW17 (My Program work fine with this version and older version) , I have to use QRCODE function ...
by Surasak
Fri Nov 29, 2024 11:24 am
Forum: FiveWin for Harbour/xHarbour
Topic: Incorrect Font Display
Replies: 17
Views: 6446

Re: Incorrect Font Display

My program is ANSI not Unicode. but some THAI characters is display like Unicode.
by Surasak
Fri Nov 29, 2024 8:46 am
Forum: FiveWin for Harbour/xHarbour
Topic: Incorrect Font Display
Replies: 17
Views: 6446

Incorrect Font Display

I just update my program to FW24.09 (BCC7.70) , I found the Font display incorrect when I enter some of 2 THAI character font for example chr(202)+chr(161) , chr(203)+chr(162) , chr(202)+chr(164) etc. , It may be problem from unicode character, I try to use command FW_SetUnicode( .F. ) but nothing ...
by Surasak
Thu Aug 22, 2024 7:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: IP Camera Connect
Replies: 4
Views: 1378

IP Camera Connect

I have to connect 10-20 units of IP Camera via Lan cable distance 20-50m. So, I cannot use webcam for this application, Did anyone have the sample code for connect to IP Camera via RTSP or TCP/IP Protocal ?
by Surasak
Sat Jul 11, 2020 1:11 am
Forum: FiveWin for Harbour/xHarbour
Topic: IP Camera Interface via RTSP Protocal
Replies: 1
Views: 424

IP Camera Interface via RTSP Protocal

How can use FiveWin interface to IP Camera via RTSP Protocal
Anyone have the sample for playing streaming and capture the picture from 4 units IP Camera.
by Surasak
Fri Jul 05, 2013 4:38 am
Forum: FiveWin for Harbour/xHarbour
Topic: WebCam select video source
Replies: 0
Views: 302

WebCam select video source

How to select the video source in source code directly without using video control dialog, when we have more than one webcam in PC?
(fwh13.05+bcc582)
by Surasak
Mon Sep 05, 2011 8:45 am
Forum: FiveWin for Pocket PC
Topic: Display IMAGE jpg
Replies: 0
Views: 689

Display IMAGE jpg

I would like to display jpeg image file by command 'IMAGE', But class timage not including,
So I try to add source code of class timage in to my code but file 'imgdecmp.h' not found.,
Can you give me the code for display graphic file .jpg .gif etc.
by Surasak
Tue Jul 26, 2011 10:41 am
Forum: FiveWin for Pocket PC
Topic: Timer Interval
Replies: 4
Views: 1415

Re: Timer Interval

Sorry, I just found the problem. In uAction routine is ReadComm(). So, I have to set timeout faster.
by Surasak
Tue Jul 26, 2011 8:02 am
Forum: FiveWin for Pocket PC
Topic: Timer Interval
Replies: 4
Views: 1415

Re: Timer Interval

Yes, I have test nInterval with 0 to 5000, value more than 1000 is correct. But 0 to 1000 application activate same period at 1 sec.
How can activate faster than 1 sec.
by Surasak
Fri Jul 22, 2011 8:46 am
Forum: FiveWin for Pocket PC
Topic: Timer Interval
Replies: 4
Views: 1415

Timer Interval

Can I set Interval period of Timer command faster than 1000 ms. ( I have already change the interval from 1 to 1000 but result minimum is 1 sec. )
by Surasak
Wed Jul 13, 2011 9:50 am
Forum: FiveWin for Pocket PC
Topic: Function ChooseFont()
Replies: 3
Views: 1389

Re: Function ChooseFont()

I try to use AddFontResource() and return=1 but no any effect with thai true type font but normal english font is OK without using AddFontResource()