How to...

How to do this and that
I Love Xbase++ (ILX)
The portal for Xbase++ developers worldwide
Till Warweg
2 min read
Views
457
Background COM/ActiveX transports string data in UTF-16 encoding. Xbase++ applications, on the other hand, use ANSI or OEM encoded strings according to the current SET CHARSET setting. The Xbase++ runtime converts strings automatically before they are passed to or received from a COM/ActiveX...
Anna Hristova
2 min read
Views
3,947
Reaction score
1
Overview This document serves as a cheat sheet for the syntax of the regular expressions that are supported in the Xbase++ Workbench "Find Text" dialog. By checking the item "Regular expressions" the dialog allows users to define simple regular expressions for searching in the current file or...
Andreas Herdt
3 min read
Views
3,217
When displaying images in Xbase++, you might encounter image files that appear rotated or flipped. This often happens with JPEG pictures taken with mobile phones whose cameras tend to save pictures with a constant aspect ratio, regardless of the device's orientation at the time a picture is...
Till Warweg
3 min read
Views
3,435
Reaction score
1
Reg-free COM allows using a copy-deployment for applications depending on a COM/ActiveX component, which means that the COM/ActiveX component can be used without prior registration. The same process also can be used for auto-registering .Net-based components compiled to expose themselves to...
Frank Grossheinrich
2 min read
Views
2,850
Translating text from English to German using Mozilla Firefox or Google Chrome Both Firefox and Chrome now include built-in translation tools, so you no longer need separate add-ons or extensions for basic page or text translation. Here's how to use them. Using Firefox's Built-in Translation...
Frank Grossheinrich
7 min read
Views
137
Some Xbase++ applications ship with more than one PGDBE client license key — for example when different modules, customers, or deployment sizes are licensed separately. This article shows the recommended pattern for trying several license keys in sequence when opening a PostgreSQL connection...
Frank Grossheinrich
1 min read
Views
7,095
Please log in to the ASI portal. Note: The ASI portal requires the same log in credentials as the ILX portal. If you never have logged in to ILX please see this article which describes how to initially log in and get your credentials. As soon as you successfully logged in to ASI portal you...
Frank Grossheinrich
1 min read
Views
3,170
The ILX Portal is very important and indispensable for an Xbase++ developer for several reasons. ILX ("I Like Xbase++") is the knowledge database all about Xbase++. Here you will find short tips & tricks for Xbase++, but also detailed in-depth articles on many topics such as SQL with Xbase++...
Anna Hristova
2 min read
Views
3,221
Introduction: In this how-to article, we will explore how to efficiently process CSV data using SQLite. Subsequently, we'll demonstrate how to access SQLite databases using the USqlStatement class to execute arbitrary SQL commands. Prerequisites: Before we dive into the process, make sure you...
Till Warweg
2 min read
Views
2,947
Background The XbpHtmlViewer2 class has a data folder that serves as an integral mechanism for session isolation. This feature is critical for applications using the class, which internally relies on the Microsoft WebView2 runtime. By ensuring that every process employing XbpHTMLViewer2...
Anna Hristova
2 min read
Views
2,874
Let's start and create an example where we'll retrieve posts from a public REST API, such as JSONPlaceholder which is a free online REST API that you can use for demonstration and testing purposes. Here's the URL endpoint to retrieve posts: https://jsonplaceholder.typicode.com/posts Now, let's...
Till Warweg
4 min read
Views
2,843
Reaction score
1
The Asset Manager integrated into the Xbase++ Workbench provides an easy interface for viewing, (de-) installing and updating the assets being used in your projects. Behind the scene, the Asset Manager in conjunction with the Workbench, performs the following tasks for you: Manage asset...
Till Warweg
2 min read
Views
3,222
Using native SQL for manipulating data as well as structure (schema) of ISAM-emulated tables is a supported scenario, for example, for being able to share data with non-Xbase++ applications. In the following, the potential pitfalls and general requirements are discussed which must be put into...
Jeffrey Wulf
1 min read
Views
3,923
Background Generally making a service more reliable does not mean to ensure the service works 24/7. This is an old school no more working approach from times where software solutions have been simple, working in defined environments and under full control. But today, even simple software become...
Till Warweg
1 min read
Views
2,681
Background The PGDBE automatically tracks record locks in ISAM-emulated tables, which are set by clients connected to the PostgreSQL server. This is done with the help of the __lock_owner field in the table's meta data. However, when a client dies unexpectantly, has it's network go down or does...
Steffen F. Pirsig
2 min read
Views
3,124
Background Since the ISAM emulating tables of the PostgreSQL DatabaseEngine are in fact regular SQL tables, it is possible to manipulate them using SQL statements. However, some SQL operations are problematic, as they may lead to inconsistent/incorrect ISAM behavior. In the following, we will...
Andreas Herdt
1 min read
Views
2,557
Overview By default, the target (.dll or .exe) is created in the directory as implied in the target node of the project file (.xpj). The target [example.exe] is created in the directory where the project file is located. The target [bin\example.dll], on the other hand, is created in the...
Jeffrey Wulf
5 min read
Views
3,981
Comments for Xbase++ 1.9 users 1. Support for projects with targets in multiple directories Beginning with Xbase++ version 2.0, complex project scenarios involving targets located in different directories are fully supported. This required changes in the way the targets and the source files...
Steffen F. Pirsig
3 min read
Views
5,867
Reaction score
2
Background The Xbase++ PostgreSQL DatabaseEngine provides two different access method to data. First, the ISAM emulating approach which works with dedicated SQL tables only. These SQL tables need to be created using ISAM commands like DbCreate/INDEX ON/OrdCreate or have been upsized from...
Till Warweg
3 min read
Views
4,243
Reg-free COM allows using a copy-deployment for applications depending on COM/ActiveX component. As the name implies, Reg-free COM means there's no need to register COM/ActiveX components prior to using them. To achieve this, the application requires one or more manifest files which describe the...