0
Comments

Become an Expert Part 5: Generating Reports by C1_GregL

Part 5 Overview This is the fifth part in the six-part "Become an Expert" series. In this part we will add a report generation feature to the Sales Management Application. This feature will be implemented simply by using the C1Report control...
0
Comments

Creating Outlines and Trees with the C1FlexGrid Control by C1_GregL

One of the unique and popular features of the C1FlexGrid control is the ability to add hierarchical grouping to regular unstructured data. To achieve this, the C1FlexGrid introduces the concept of Node rows. Node rows do not contain regular data. Instead...
Filed under: ,
0
Comments

Become an Expert Part 4: Adding Charts to Analyze Sales Data by C1_GregL

Part 4 Overview In this series, we will create a Sales Management application to show how easily anyone can "Become an Expert". Up to this point, we have created a sales data list using C1FlexGrid (part of ComponentOne Studio for WinForms),...
2
Comments

Become an Expert Part 3: Adding a Ribbon Interface and Export Options by C1_GregL

In this series, we will make use of controls from ComponentOne Studio for WinForms to create a Sales Management application and to show how easily anyone can "Become an Expert". In Part 3 we will use the C1Ribbon control (part of Studio for WinForms) to change the look and feel of the application. We will also use C1PdfDocument to export a report to a PDF file, and we'll add Excel export options too using C1FlexGrid.

...
3
Comments

Become an Expert Part 2: Adding Features to the Sales Management Application by C1_GregL

Part 2 Overview Microsoft Visual Studio contains a number of standard controls. ComponentOne Studio Enterprise provides easy-to-use controls with enhanced features which can be used in Visual Studio along with standard controls. In this series, we make...
4
Comments

Become an Expert Part 1: Create a Sales Management Application using ComponentOne Studio for WinForms by C1_GregL

Microsoft Visual Studio contains a number of standard controls. ComponentOne Studio provides easy to use controls with enhanced features which can be used in Visual Studio along with standard controls. In this series, we make use of these controls to create a Sales Management Application. In the first volume of this series, we create a table to display sales data using C1FlexGrid (a control in ComponentOne Studio for WinForms) as the base.

...
0
Comments

Dynamic Connection Strings by C1_GregL

This blog post details a solution to the common problem of dynamically setting connection strings. The approach used allows end-users to change database connections at runtime through a friendly user interface, and save the connection for future uses. Provided with this post is source code for the Connection Wizard form which accesses all Sql servers and databases on a computer and its networks, builds a connection string based upon user selection, and also saves the connection string to an xml file in local data storage....
Filed under: ,
1
Comments

Visual Studio 2010 beta Compatibility by C1_GregL

If you convert an existing project or solution to Visual Studio 2010 beta there should be no problem. But if you are creating new projects within VS2010 beta there are a couple things you need to know when using ComponentOne WinForms or WPF controls....
1
Comments

Reduce Data-entry Form Development Time by 60% by C1_GregL

This article demonstrates a play-by-play comparison of creating and maintaining the exact same data-entry form using standard Visual Studio controls versus using ComponentOne InputPanel. ComponentOne InputPanel for WinForms enables you to create data-entry forms quickly and efficiently. The control reduces the time it takes to create and maintain data-entry forms by removing all redundant tasks such as input control alignment, spacing, data-binding, labeling, accelerator key generation and tab ordering....
0
Comments

Enhanced Printing and Previewing with C1FlexGrid by C1_GregL

This article demonstrates the C1FlexGrid PrintDocumentGridRenderer class. This class is included in the C1FlexGrid assembly and provides methods for rendering scaled parts of the grid into the pages of regular PrintDocument objects. Using this approach, you have total control over the document. You could, for example, create several PrintDocumentGridRenderer objects and use them to render several grids into the same document, use a custom print preview dialog, and more. ...
2
Comments

Charting in Reports for WinForms by C1_GregL

ComponentOne Reports for WinForms has always supported chart fields using its extensible custom field architecture. The Chart field is implemented as a custom field in the C1.Win.C1Report.CustomFields.2.dll assembly, which is installed with the report designer application and is also included as a sample with full source code (CustomFields). In this article, you’ll see how you can customize chart fields in reports using the C1ReportDesigner application. The C1ReportDesigner application is installed with both ComponentOne Reports for WinForms and ComponentOne Reports for WPF....
2
Comments

A Visual SQL Query Designer by C1_GregL

This article describes the implementation of a QueryDesignerDialog class that allows users to create SQL queries based on a given OleDb connection string. The designer is similar to the ones found in database tools such as the SQL Server Management Studio and Microsoft Access. It allows end users to build SQL queries with support for sorting, grouping, and filtering. ...
2
Comments

Spell-check OleDb Databases by C1_GregL

This article describes the implementation of C1DBSpellChecker, a utility that performs spell-checking on OleDb databases including SqlServer and Access. After reading this article, you will be able to specify a connection string, and then select a table and one or more string fields on the table to spell-check. Typing errors will then be displayed in a grid where they can be corrected. When all corrections have been made, the changes will be saved back to the database. ...
5
Comments

Enhanced PrintPreviewDialog Class with PDF Output by C1_GregL

This article describes the implementation of an enhanced PrintPreviewDialog class that provides PDF output in addition to the standard print and preview capabilities....
0
Comments

Welcome to WinDev! by C1_GregL

Welcome to the Win Dev Blog. In this blog you'll find interesting code examples and articles for desktop application development - mostly Windows Forms and some WPF. Regarding myself, I am currently the desktop dev-tools product manager for ComponentOne...