Search found 42 matches

by messaoudlazhar
Thu Nov 16, 2023 11:25 am
Forum: eXpress++ Support
Topic: ADS: sp_mgGetUserTables() with same user name
Replies: 19
Views: 3666

Re: ADS: sp_mgGetUserTables() with same user name

SQL_STATEMENT_LIMIT means the maximum number of statements for one connection at a time. It's really hard to reach this limit as long as all statements are properly finished and closed. See correction of my message. Another alternative is to set a Registry Value: SQL_STATEMENT_LIMIT (DWORD) in \HKE...
by messaoudlazhar
Thu Nov 16, 2023 4:32 am
Forum: eXpress++ Support
Topic: ADS: sp_mgGetUserTables() with same user name
Replies: 19
Views: 3666

Re: ADS: sp_mgGetUserTables() with same user name

Addition: Using those stored procedures again and again may lead to ADS Error 7216, which means the number of SQL-statements for that connection is exceeded. sp_SetStatementLimit(0) solves that problem. Alternative solution for error 7216: Adding SQL_STATEMENT_LIMIT=0 to the adslocal.cfg file ; Max...
by messaoudlazhar
Thu May 20, 2021 12:54 pm
Forum: eXpress++ Support
Topic: CodePage in DCSAY or DCGET
Replies: 7
Views: 6248

Re: CodePage in DCSAY or DCGET

hi Roger,
You will find attached 2 fonts of 2 different versions that you can compare
ArabicXP : Version 1.01
NewArabic : Version 6.98 (Multiples Codepage)
by messaoudlazhar
Wed May 19, 2021 1:24 pm
Forum: eXpress++ Support
Topic: CodePage in DCSAY or DCGET
Replies: 7
Views: 6248

Re: CodePage in DCSAY or DCGET

I solved the problem with copying a font from windows XP "Simplified Arabic" and renamed it to "MML Simplified Arabic" to be able to use it for Windows 7 and Windows 10. But if I can use the same font for SAY and GET is better FontSayAr:=SelectFontAppl("MML Simplified Arabic",14,8,178) *FontSayAr:=S...
by messaoudlazhar
Wed May 19, 2021 1:11 pm
Forum: eXpress++ Support
Topic: CodePage in DCSAY or DCGET
Replies: 7
Views: 6248

Re: CodePage in DCSAY or DCGET

But to display with the DCSAY ... GET command by Object Fonts (oFont), the SAY part does not work. on the other hand it works with GET. FontSayAr:=SelectFontAppl("Times New Roman",14,8,178) @ 2,2 DCSAY "المالك........... :" GET nompra GETSIZE 50 SAYFONT FontSayAr @ 3,2 DCSAY "الصفة............ :" GE...
by messaoudlazhar
Wed May 19, 2021 12:54 pm
Forum: eXpress++ Support
Topic: CodePage in DCSAY or DCGET
Replies: 7
Views: 6248

Re: CodePage in DCSAY or DCGET

Thanks Roger, I solved the error. i modified the following line in _dcgetbx.prg IF !Empty(aOptions[cGETOPT_FONT]) ::drawingArea:setFontCompoundName(aOptions[cGETOPT_FONT]) ELSE // ::drawingArea:setFontCompoundName( Dc_BaseFont(7) ) ::drawingArea:setFontCompoundName( Dc_BaseFont() ) // Jack Duijf 17-...
by messaoudlazhar
Sun May 16, 2021 4:45 am
Forum: eXpress++ Support
Topic: CodePage in DCSAY or DCGET
Replies: 7
Views: 6248

CodePage in DCSAY or DCGET

When writing to the screen using the DCSAY ... GET or DCGET commands, you cannot use CodePage as DCPRINT FONT CODEPAGE, especially since Windows 7 has been using scalable fonts. The New scalables fonts versions make it easier to write in multiple languages from most fonts in use. In the printing it ...
by messaoudlazhar
Fri Nov 27, 2020 9:57 am
Forum: eXpress++ Support
Topic: Serial Number
Replies: 17
Views: 19255

Re: Serial Number

Hi, I created this function and I tested it, it works fine : Function GetSerialBios LOCAL nfile, nlngf, xMPos:=0, VarRetBS:="" RunShell("/C wmic Bios Get SerialNumber >ChMMLBS.txt",,,.T.) nfile:=Fopen("ChMMLBS.txt",66) nlngf:=fsize(nfile) Do while xMPos<nlngf CharRead:=freadstr(nfile,1) If Asc(CharR...
by messaoudlazhar
Thu Nov 26, 2020 4:34 am
Forum: eXpress++ Support
Topic: Serial Number
Replies: 17
Views: 19255

Re: Serial Number

Hi,

Insert this line then read the file 'BiOsSern.txt' containing the serial number :

RunShell('/C wmic Bios Get SerialNumber >BiOsSern.txt',,,.T.)

Good work

Messaoud Mohamed Lazhar
by messaoudlazhar
Sun Nov 15, 2020 3:44 am
Forum: Xbase++ 2.0
Topic: Capture traffic between 2 UDP End points
Replies: 2
Views: 5667

Re: Capture traffic between 2 UDP End points

Hi, I encountered a similar problem but with RS232 communication and I solved it. I put a pc between the machine and the pc communicating with (my pc communicates with the machine on one side and with the pc on the other). I read the data on one side and send it back to the other and vice versa. I s...