This article begins with the basic steps to use the PrintForm component and simple Form printing, describes various options for customised printing with code examples where necessary, and addresses some problems faced with the usage.Background
Sometime back, I [...]
Printing can be a complicated process, depending on what you want to print, and how you want to configure it. Luckily, .NET 2.0 has helped make the process easier, but it can still be a little confusing at times, especially when dealing with advanced printing configuration. So, this article will show you where to begin the [...]
I have known for a long time that you must have enough items in your parameter array to account for the highest index assigned to a format item. Today’s discovery was that unused items in the list are completely harmless.
Clearly, the opposite case is false; an item with an index greater than the upper bound of the parameter array [...]
This article discusses how you can create a dynamic Crystal Report and set its Margin at runtime.Using the Code
The below function fills dataset‘s table from the Northwind database, and at form load, it loads the report and sets its datasource.// // Any source code blocks look like this Private Sub [...]
This article presents owner-drawn trackbar control. Component is written entirely from scratch. All painting events are done by code. It’s got cool, modern look. The best thing is, however, the capability of changing slider’s thumb shape. It is done [...]