How to generate Swiss QR Code in C# and VBA

Swiss QR Code in C-Sharp and VBAToday, we are looking into the field of business computer science. Since end of April, SIX has released the specification for the new Swiss QR Code according to ISO 20022. The Swiss QR Code is an integral part of the new Swiss deposit slip, the so-called QR invoice, which shall be implemented by all companies by mid-2018 at the latest. The Swiss QR code is placed in the so-called “number part with QR code” of the QR invoice.
In the following, we will discuss how the Swiss QR code can be generated using C # or VBA. To do this, we use the free QRCoder library, which I developed almost 4 years ago and to which recently added the Swiss QR Code. One more thing before we […]

.NET Core – gdiplus.dll not found in Linux

A few days ago there was an issue raised in my QrCoder project. It was reported that the code would not run under Linux, as the following error message would occur:

Unhandled Exception: System.TypeInitializationException: The type initializer for ‘System.Drawing.KnownColors’ threw an exception.
—> System.TypeInitializationException: The type initializer for ‘System.Drawing.GDIPlus’ threw an exception.
—> System.DllNotFoundException: Unable to load DLL ‘gdiplus.dll’: The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
at System.Drawing.GDIPlus.GdiplusStartup(UInt64& token, GdiplusStartupInput& input,
[…]

However the error message had its origin not in my QrCoder, but in the interplay of the .NET core framework with the GDI Plus library. The .NET Core Framework tries to access “gdiplus.dll” when accessing “System.Drawing.GDIPlus”, which is simply not available on Linux.
First solution approach
First, ensure that GDI+ is installed at all. This can be done with the following shell command:

sudo apt-get install libgdiplus

If libgdiplus is installed, however, another important step is missing …
Link libgdiplus for .NET Core
Because the […]

How to fix SSL error 61 in Citrix Web Receiver on Linux

How to fix SSL error 61 in Citrix on LinuxI admit, the title is quite specific and will certainly appeal to only a small readership. But anyone who is facing the problem will be, like me, grateful for a solution.
In particular, the problem is about the SSL error 61 in the Citrix (Web) receiver under Linux and how to fix it. Since I have been running almost exclusively under Kubuntu for several months, the Citrix Reiceiver also moved into the new Linux box. Unfortunately, no connection to systems could be established, since the receiver disconnected with the following error message.
SSL Error 61: You have not chosen to trust “Go Daddy Root Certificate Authority – G2”, the issuer to the server’s security certificate.
Citrix-SSL-Fehler-61What […]

Update: WordPress2Doc 1.2.7.0

Wordpress2Doc 1.2.7.0 - All-in-OneToday there is again a software update. Since yesterday evening the new version 1.2.7.0 of the WordPress2Doc Tool is available for download. In addition to two bugfixes, further translations have been introduced. Thanks a lot to the community support!
If you have forgot (or not even have known yet), for what the WordPress2Doc-Tool can be used, the following brief summary is given.
Using WordPress2Doc, you can save as many articles and pages of a WordPress blog as a Word document (.docx) and / or as a PDF file. It is possible to select whether all articles should be created in one document or whether a new document should be created for each article. This makes it easy to back up, print, and prepare blog articles for further use.
What’s new in WordPress2Doc 1.2.7.0
The following things have changed:

Bugfix: After the export […]

New theme – the bug hunt is opened

Neues DesignThe one or the other may have noticed it already – code-bude.net is running with a new design recently. The theme change was on my to-do list for more than two years, but I was scared to switch the theme. Scared of ranking losses in Google or to shoot me the design because I had programmed the old Theme in non recommend ways. But now I have, however, done so.
After 5 years, the old theme has got it made and with its lack of responsiveness it was not up to date anymore. From now on code-bude.net can also be read comfortably on mobile devices.
Help me to improve the new theme!
Since the new Theme certainly is still missing one or the other edge, I depend on your help. If you find an error (text or illustration) or if you have a proposal, at which point something should be […]