Working with dates is something many RPG programs do extensively. In the old days of AVR Classic, we used to have to use lots of data structures and other special-case code to format dates, convert dates. It was also quite challenging to do date arithmetic and perform other sophisticated date manipulations. AVR for .NET's *Date, *Time, and *TimeStamp help resolve all of these issues. However, many shops still store dates (and times) as numeric values in their database. This seems to preclude using some of .NET's really great date handling and manipulation. This article changes that and shows how to integrate your numeric date and time values with .NET's great date and time handling.
Visual RPG Page 4
This article shows how to use regular expression character classes and quantifiers with ASNA Visual RPG. This is part 2 in a series.
Regular expressions (regex) provide a pattern matching scheme you can use to search and, optionally manipulate, a string. Although regex has been around for almost 50 years, it is often either completely ignored or relegated to the "will learn later" pile by many programmers. This article, the first in a series, introduces you to using regular expressions with ASNA Visual RPG.
ASNA Visual RPG for .NET (AVR) comes with many project templates. The templates provided are generally serviceable, but wouldn't it be handy to be able to create your own templates? This way each time you start a new project it's got just the things you want, the basic forms you need, and all the extra goodies you usually use. And wouldn't it be nice to make many of those suit your different application challenges! Read on, this article shows you how.
One of the frustrations of writing Web or mobile applications is that before you can demo them you must deploy them. For many apps, deployment takes nearly as much work as writing them! Imagine having an ASNA Visual RPG Web app, or an ASNA Mobile RPG app, in Visual Studio on your desktop and, in about 20 seconds, being able to show it to anyone, anywhere, on the Internet. Without deploying it!
This article shows two ways to read and two ways to write Json with ASNA Visual RPG using the popular open source library Json.NET.
This article considers the challenge of implementing a scrolling grid in ASP.NET with ASNA Visual RPG. It shows how to achieve the effect, but also discusses the effect's downside. An alternative, although not a simple snap-in solution for existing pages, is also discussed.
Distributing reports as PDF files is a very common practice in the enterprise. This article shows how to do that with ASNA Visual RPG for .NET and Amyuni PDF Converter Application Server Edition. The code provided works with either Windows or ASP.NET applications.
Unlike AVR Classic or green-screen RPG, AVR for .NET is built on an object oriented foundation. This article, the first in a series, provides an introduction to using classes with AVR for .NET.
IBM i's Open Query File is dated but does provide effective results with ASNA Visual RPG in many use cases. This article shows you how to use it with AVR.
*All* IBM i shops have legacy RPG applications. These applications are typically built out of hundreds, sometimes thousands, of RPG programs. It's not uncommon for many of those RPG programs to be reusable program objects that are called by many other RPG programs in the application. This article shows how to use ASNA Visual RPG's Call/Parm to call IBM i program objects.
The seven-digit date (in the format cyymmdd) is used in some IBM i ERP and custom applications. This article shows how to use that date type with ASNA Visual RPG.