The Microsoft Visual Basic Power Packs 3.0 controls and components that were previously available for download are now included in Visual Studio 2008 SP1. Power Packs can be used in both Visual Basic and Visual C# Windows Forms Application projects.
Included in the Power Packs are a new DataRepeater control, and also updated versions of the previously released Line and Shape controls, the PrintForm component, and the Printer Compatibility Library.
DataRepeater Control
Line and Shape Controls
The Line and Shape controls are a set of three graphical controls that let you draw lines, ovals, and rectangles on forms and containers at design time. These controls make it easier to enhance the look of your user interface. Line and Shape controls encapsulate many of the graphics methods that are contained in the System.Drawing namespace so that you can draw lines and shapes in a single step without having to create graphics objects, pens, and brushes. You can create complex graphics effects such as gradient fills by just setting some properties. These controls also provide events such as click and double-click to enable you to respond to and interact with end users.
For more information, see Introduction to the Line and Shape Controls (Visual Studio).
PrintForm Component
The PrintForm component is designed so that you can easily print a Windows Form as you could in Visual Basic 6.0. By using the PrintForm component, you can once again lay out a Windows Form exactly how you want it and enable users to print the form as a quick report.For more information, see PrintForm Component (Visual Basic).
Printer Compatibility Library
The Printer Compatibility Library enables projects that use the Visual Basic 6.0 Printer object and Printers collection to be upgraded without requiring you to rewrite the printing logic. Just add a reference to the library, declare a Printer, and make some minor syntax changes, and the project will be able to print by using the Printers collection and Printer object as it did in Visual Basic 6.0. This version incorporates a new Write method into the Printer object. The new method lets you print text without using a forced carriage return, like the semicolon syntax used by the Print method in Visual Basic 6.0.
For more information, see Printer Compatibility Library.
Distributing Power Packs
Also included is a bootstrapping package that lets you easily redistribute the Visual Basic Power Packs with an application. This lets you include the Power Packs in a ClickOnce Project or Setup Project by just clicking a check box.
For more information, see Deploying Applications That Reference Power Packs Controls.
Visual Studio 2008 SP1 supports the new .NET Framework Client Profile, a subset of the .NET Framework redistributable library that is optimized for client scenarios. These are some of the benefits of the Client Profile:
A bootstrapper, which is just 200K, enables a fast response to the setup URL of an application.
An integrated custom UI lets you package your application together with the Client Profile for a seamless installation experience.
A small file size of 26.5MB helps to make installation fast.