Search found 86 matches

by SlavkoDam
Mon Aug 01, 2022 10:37 pm
Forum: CXP / Web Development
Topic: How to define a public function in a CXP application
Replies: 21
Views: 12461

Re: How to define a public function in a CXP application

In CXP is not possible to upload files larger than 100.000 Kb, with INPUT type="file". CXP reports an error, no matter do you use upload folder or not. You can test this in that Alaska demo.
by SlavkoDam
Wed Jul 20, 2022 11:00 pm
Forum: User Contributions
Topic: Microsoft Print to PDF
Replies: 6
Views: 7816

Re: Microsoft Print to PDF

PDF files can also be created with export module of PowerWin library. It supports not only PDF, but also Word, Excel and HTML formats. Export reports can include various data types, such as text, images, browsers and quick-browsers, database files, arrays, shapes and links. PowerWin library don't us...
by SlavkoDam
Sat Jul 16, 2022 5:17 am
Forum: CXP / Web Development
Topic: How to define a public function in a CXP application
Replies: 21
Views: 12461

Re: How to define a public function in a CXP application

Hi Diego, With PowerWin library you can do the same task with this: ExpDb("Customer", {"bill_name","bill_strt","bill_city","bill_state"},,,,,"H","Customer.html") The report will be saved in a specified file. You can read it and display in a dialog window as you did, or send it to an Internet browser...
by SlavkoDam
Wed Jul 13, 2022 11:11 pm
Forum: CXP / Web Development
Topic: How to define a public function in a CXP application
Replies: 21
Views: 12461

Re: How to define a public function in a CXP application

Hi, In PowerWin library, you can do the same task with this: DbOpen(,{{"Customers"}}) ExpDb(,{"Name"},,,,,"P") These 2 lines will automatically create a PDF file with all records of a db. You can save a PDF file or display it automatically in Acrobat Reader. With other parameters in ExpDb() you can ...
by SlavkoDam
Mon Jul 11, 2022 11:38 pm
Forum: Xbase++ 2.0
Topic: What Java library or dll can be used to develop a WEB GUI in Xbase++?
Replies: 62
Views: 27403

Re: What Java library or dll can be used to develop a WEB GUI in Xbase++?

Hi Diego, I don't understand why you are told that memoread() is obsolete. And what matter does it has with AJAX technology? None, they are not related at all. Also, in all their XbpWebUI examples, Alaska uses memoread(), you can check that. Besides, you can use fread() to get file content. I think ...
by SlavkoDam
Mon Jul 11, 2022 11:06 pm
Forum: CXP / Web Development
Topic: How to define a public function in a CXP application
Replies: 21
Views: 12461

Re: How to define a public function in a CXP application

Hi Diego, You are talking about two different matters, printing a report and displaying a PDF. They are not the same. Yes, you can convert printing report to PDF and display it in that format, but way to do that when you can display and print it directly. With PowerWeb library you can create a repor...
by SlavkoDam
Sat Jul 09, 2022 10:49 am
Forum: CXP / Web Development
Topic: How to define a public function in a CXP application
Replies: 21
Views: 12461

Re: How to define a public function in a CXP application

Hi Diego, When you are developing a web app using a web technology you should use web solutions. CXP allows to execute one CXP page from other CXP page(s), and that is a proper solution. The CXP page to be called is standalone and it can be called anytime from any CXP page. You should read CXP docum...
by SlavkoDam
Sat Jul 09, 2022 6:33 am
Forum: Xbase++ 2.0
Topic: What Java library or dll can be used to develop a WEB GUI in Xbase++?
Replies: 62
Views: 27403

Re: What Java library or dll can be used to develop a WEB GUI in Xbase++?

Hi Diego, It is great that you succeeded to use CXP after many years of trying, I am glad for you and congratulate. Yes, CXP is great since it implements the modern MVC web technology, like many other programming languages. I first learned and used MVC in C# and its the same in Xbase++ CXP. Alaska i...
by SlavkoDam
Sat Jun 04, 2022 11:23 pm
Forum: Xbase++ Support
Topic: TLS socket connection in Xbase 1.9
Replies: 7
Views: 4084

Re: TLS socket connection in Xbase 1.9

Hi, I use Xbase++ C-API extension, which is part of Xbase++ package. It works great and have many capabilities, especially for sending parameters to C function and retrieving results from it. You can create a C DLL file and link it with your app, or just a C object files and link it with Xbase++ obj...
by SlavkoDam
Sat Jun 04, 2022 7:42 am
Forum: Xbase++ Support
Topic: TLS socket connection in Xbase 1.9
Replies: 7
Views: 4084

Re: TLS socket connection in Xbase 1.9

Random key generation can be simulated in Xbase++ code with STRTRAN(UUIDTOCHAR(UUIDCREATE()), "-", ""), but this returns key of length 16. For larger keys the same code can be repeated in a loop, concatenated the results, and SUBSTR() it to the right length.