New Stuff
Resources for Your Developer Toolbox
Theresa W. Carey


Contents


Print Code in Visual Basic .NET
StarPrint

StarPrint Limited has released VS.NETcodePrint, a Visual Studio® .NET Add-in that allows you to produce printouts of source code in Visual Basic® .NET. You can preview the printouts before printing and exporting to RTF, HTML, and PDF formats. You can print, preview, and export a complete solution, selected projects, project items, namespaces, classes, modules, and procedures. The program's WYSIWYG preview screens let you look at the formatted source code with zooming, multipage thumbnails, and side-by-side pages.

VS.NETcodePrint allows users to customize the font attributes and colors for comments, identifiers, keywords, line numbers, strings, procedure headings, table of contents, and page headers or footers. This color coding, combined with custom indenting, line numbering, and line spacing, shows the language statement constructs clearly and allows for speedy code inspections.


Barcodes in .NET-centric Apps
IDautomation

IDautomation.com Inc. has released Linear .NET Barcode Forms Control, which integrates barcode technology directly into applications built using the Microsoft .NET Framework. The managed code control is provided with sample projects in C# and Visual Basic .NET. By integrating barcode technology directly into apps, it is no longer necessary to export data to a proprietary label program to print barcodes. Linear .NET Barcode Forms Control is compatible with development environments that can utilize .NET Forms Controls.

Several bar code symbologies are supported in this control including Code 39, Code 128, UCC-128, Interleaved 2 of 5, UPC, EAN, Codabar, and POSTNET. In an application, the control can be used on a form or as a DLL that is not seen on a form. The control can also be used to create barcodes in WMF, JPEG, TIFF, BMP, PNG, and other image files.

Other features include device-independent graphics, data binding, adjustable orientation, and strong name support. All functionality is implemented in a single file that is less than 150KB.


Web Site QA and Accessibility Check
Watchfire

Watchfire Corporation recently released Watchfire WebQA 2.0, a Web site quality testing tool designed for small to medium-sized Web sites or departmental sites. The program provides a content testing solution for individual developers or quality assurance engineers.

WebQA 2.0 now includes the ability to test for an organization's level of compliance with government standards, including the U.S. Government's Section 508 and the W3C's Web Content Accessibility Guidelines (WCAG). WebQA scans and checks a site for more than 100 potential problems and reports on issues such as broken links, spelling mistakes, slow loading pages, missing keywords and ALT text, orphaned files, and page quality. WebQA can scan and check most file formats including HTML, JavaScript, Flash, and dynamically generated content (ASP, JSP, or CFM, for example).

WebQA allows developers to test Web pages and generate summary reports highlighting accessibility issues before posting the content to live servers. The software records and plays back scripts that duplicate the actions a user makes on a site to see if the transactions and interactions on the site, such as checkouts and login forms, are working as designed. WebQA can also automatically add, edit, and manage metatags in documents on the site to improve search engine effectiveness.


Imaging Capabilities for Your Apps
ImgX

Atalasoft Inc. has released ImgX Controls 6.2 for Visual Basic .NET, a collection of controls that let you add basic imaging functions such as capturing, scanning, and printing images, as well as high-end image viewing and manipulation capabilities. ImgX will read and write most popular graphics file formats. ImgX uses a low-level C++ imaging library providing image processing with an ActiveX® front end. You can draw lines, rectangles, ellipses, and add text with a textured background and antialiasing. You can create linear and radial gradients and use them as texture for text and shapes.

ImgX includes 20 resampling methods and overlay images with an alpha transparency. You can display and zoom images with a scrollable viewport and create ActiveX Web imaging with the ImgX OCX control. In addition, you can control print settings, show dialogs, print images, and replace the Visual Basic Printer object with the ImgXPrint DLL. The controls suite includes a customizable image preview dialog for opening and saving images with the ImgXDialog DLL.

The ImgTwain DLL provides twain support for scanning images with basic and advanced duplex features. The ImgCapture DLL provides screen capture support. ImgX is .NET ready with strong-named .NET interop and extender libraries.


Multimonitor Support
Realtime

Realtime Soft has released version 2.0 of the UltraMon Developer Edition, a collection of components for developers who want to add multimonitor support to their Windows®-based applications. The UltraMon Developer Edition provides a COM-based multimonitor API which can be used from most programming languages and environments, including Visual Basic, C++, and those that target the .NET Framework. UltraMon lets you get and set monitor properties (resolution, enabled, primary, and so on), move or maximize windows, provide a user interface for visually selecting a monitor, and treat a monitor as detached from the desktop (Virtual Independent Displays feature).


.NET Development Components
Steema

Steema Software SL has released two components for Visual Studio .NET development. teeChart.Net Charting Control provides a library of components with multiple graph styles in 2D, 3D, and OpenGL, 24 mathematical and financial functions, multiple axes, multiple export formats, page charts, and database charts. It includes optional C# source code, custom canvas, toolbar, and a chart gallery. teeChart.Net Charting Control can be used on the desktop as well as in server-based and ASP.NET applications. TeeGofer .Net Component Documenter is a help template builder for component writers working in Visual Studio .NET.


Manage Those Code Snippets
iCode

iCode has released version 3.0 of iCodeRepository, a utility that allows you to collect reusable source code. You can pick up your favorite source code snippets from your daily coding or Internet searches and organize them with iCodeRepository.

Other tools include txt2html, which converts the source of files to HTML format with syntax highlighting, Mini Spy++, which retrieves Windows system information, and File Killer, which provides a shortcut to deleting files from your hard disk.

You can monitor the text on your clipboard with the Clipboard Monitor and use Keyboard Viewer to get access to keyboard values, scan codes, and Ctrl-Alt shortcuts.

iCodeRepository has a built-in text editor that supports syntax highlighting in Visual Basic, C++, Java, Object Pascal, and 30 other programming languages. Version 3.0 includes a Windows XP-style interface and the ability to add icrEdit to the context menu, allowing users to open files by right-clicking them.


Object Modeling with UML

Visual Object Modelers recently announced the release of version 3.0 of Visual UML, a UML 1.3- and 1.4- compliant object-modeling tool that provides support for all of the UML diagram types: class, object, package, use case, component, deployment, activity, state and interaction (collaboration and sequence) diagrams. It also supports robustness diagrams and extensions for Web modeling, XML modeling, data modeling/database design, and business object modeling. Visual UML can be run as an add-in to Visual Basic and Visual Studio .NET.

The Visual UML Developer Edition includes Visual Basic, C++, C#, Visual Basic .NET, and Java code generation; reverse-engineering of Visual Basic, C#, Visual Basic .NET, and Java code; database schema generation and database reverse-engineering.

The Visual UML Plus Edition incorporates Visual Basic for Applications (VBA) 6.3, allowing users to create VBA projects and write VBA scripts to control and extend Visual UML through its OLE Automation/ActiveX interface and exposed object model.


The Bookshelf
O'Reilly

O'Reilly's new MySQL Cookbook by Paul DuBois offers solutions to everyday programming dilemmas. For every problem addressed in the book, there's a worked-out solution or "recipe"—a short, ready-to-use piece of code. The discussion section explains how and why the code works, so readers can learn to adapt the techniques to similar situations. The source code and sample data used throughout the book are available at a companion Web site, http://www.bitbybit.dk/mysqlfaq.

From simple ways to find all records that contain a given string, to more difficult problems, such as finding matching and non-matching records in two tables, MySQL Cookbook addresses challenges that database administrators face every day. Learn how to import data from external sources, export data for use by external programs, access MySQL from your Web server, use scripts with MySQL to read queries from a file, and access MySQL from within client programs that use Perl, PHP, Java, Python, and other languages.

The book also guides you to construct queries that solve frequently asked questions, and identify, count, and remove duplicate records. For more information about the book see http://www.oreilly.com/catalog/mysqlckbk.


Contacts

Atalasoft Inc. 304 East Mountain Road, Westfield, MA 01085, http://www.atalasoft.com

iCode http://www.iCodeRepository.com

IDAutomation.com Inc. 550 North Reo Street, Suite 300, Tampa, FL 33609, 813-261-5064, http://www.IDAutomation.com

Realtime Soft Neufeldstrasse 27, 3012 Bern, Switzerland, +41 31 301 79 18, http://www.realtimesoft.com

StarPrint Limited P.O. Box 3139, Wokingham, Berkshire, RG41 2FZ UK, +44 (0) 118-979-4107, http://www.starprint2000.com

Steema Software SL Emili Grahit 31-35, Ent-D, 17002 Girona, Catalonia, Spain, +34-972-21-87-97, http://www.steema.com

Visual Object Modelers Inc. 4450 Arapahoe Avenue, Suite 100, Boulder, CO 80303, 800-900-1902, 303-448-8835, http://www.visualobject.com

Watchfire Corporation 200 West Street, Waltham, MA 02451, 800-282-5951, 781-810-1450, http://www.watchfire.com


Send your New Stuff to Theresa at newstuff@microsoft.com.



Theresa W. Careyis a freelance writer who lives in California. Her byline has appeared in Barron's and PC World.


© 2007 Microsoft Corporation and CMP Media, LLC. All rights reserved; reproduction in part or in whole without permission is prohibited.