How to send email with ASNA Visual RPG

The full source for this article is available here. It is very easy to send email with ASNA Visual RPG. The core enablers are baked into the .NET Framework in these two namespaces: System.Net.Mail.SmtpClient System.Net.Mail.MailMessage The documentation for the System.Net.Mail.SmtpClient class says that because this class "doesn’t support many modern protocols" it is deprecated and […]

A simple date picker for AVR for .NET ASP.NET websites

In the early days of Web development, we had to scrounge around to find solutions to what seemed like the most basic of things. Date input, for example, was a challenging thing to handle manually. To solve the challenge, we often turned to UI libraries. The jQueryUI library offered a date picker component that many […]

AVR Classic upgrade guide: version 2

AVR Classic is ASNA’s original RPG compiler for Windows. Its core codebase is nearly thirty years old. Windows 7 (supported October 22, 2009 through January 14, 2020) introduced many internal changes over Windows XP that didn’t play well with AVR 4.x. In 2012, we spent a lot of time moving our AVR 4.x code from […]

Browsers and mobile clients supported for ASNA products

Our general recommendation is to use the latest editions of: Chrome MS Edge FireFox Safari Chrome and MS Edge are both based on the open-source Chromium engine. There are many other Chromium-based browsers (including Brave, Opera, and Vivaldi) and you may get a good user experience with these other Chromium-based browsers. MS Internet Explorer went […]

Preserving application state in ASP.NET

Application state is the data that links the various parts of an application together. This data may be scalar values, binary values, or even open files that provide information to the application’s various Windows forms or display file record formats. One substantial difference between Web applications and desktop-bound fat Windows programs or green-screen RPG programs […]

How to calculate date/time differences in Visual RPG for .NET

Back in the halcyon days of RPG II/III, calculating differences between two dates or times was enormously complex and took tons of code (does anyone else remember Paul Conte’s multi-part "Ultimate Date Routines" series in NEWS/400 magazine?). Well, that was then and this is now. .NET offers superb date calculation capabilities. Let’s take a brief […]

Working with the ASP.NET ListView and row and column clicks

See code on GitHub The ListView is a worthy alternative to the GridView control. With the ListView control, you are 100% in charge of the markup produced. This makes the ListView much better suited to pages where you need complete control over the markup, such as when you’re using a CSS framwork like BootStrap. However, […]

Using FTP to send and receive IBM i source members

Occasionally you might need to send or receive a source member from/to your Windows PC and the IBM i. Assuming your IBM i has FTP enabled, it’s a snap to perform this task with Windows’ built-in FTP client. To further explore FTP on Windows, see the list of Windows FTP commands . To start FTP on Windows, […]

Printing to PDF with ASNA Visual RPG for .NET

Distributing reports as PDF files is a very common practice in the enterprise. ASNA’s DataGate print files are designed to print to one of your installed Windows printers. Printing to PDF with AVR is therefore a pretty simple task of using a PDF print driver and then printing to that virtual printer. These drivers redirect […]

The .NET Saga: From .NET Framework to .NET

In early 2002, Microsoft officially released .NET Framework 1.0 to the world. This was a big bet from Microsoft that aimed to replace the aging and ailing COM development model. .NET Framework was part: a competitive response to Java an amalgam of various languages and integrated developer tools an attempt to make it much easier […]