VG.net Readme

Thank you for using VG.net!

This document contains notes for using VG.net. You can find additional tips and tricks for VG.net at the development blog: http://weblogs.asp.net/frank_hileman. The VG.net home page is www.vgdotnet.com.

1. Getting Started

Please see the VG.net Users Guide section titled "Getting Started". You will find a shortcut to the Users Guide on the Start Menu, under the folder VG.net.

Missing Toolbar buttons? Sometimes the toolbar buttons and context menu items for Visual Studio fail to install correctly. If you notice missing items, please open the Add/Remove Programs window in the Control Panel, find VG.net, click on the link called "Click here for support information", and click on the Repair button.

2. License Agreement

The end user license agreement can be found in the file EULA.rtf, found in the main VG.net installation folder. Please note that the file Prodige.Drawing.dll may be redistributed only by companies who have purchased a designer license. No other files may be redistributed.

3. Support

If you have purchased a VG.net Picture Designer license, you will receive support contact information in your email receipt. If you are using a Lite or evaluation version of the Picture Designer, there is no official support, but please send bug reports or comments to support at vgdotnet.com, or post a message on the VG.net discussion forums at www.vgdotnet.com/forums.

4. Version Numbers and Source Code Compatibility

The major VG.net version number indicates the corresponding compatible Visual Studio version:

As much as possible, VG.net APIs are source code compatible between 3.x, 4.x, and 5.x releases. In the future, enhancements made in 5.x versions will appear version 4.x future releases. If you purchase a VG.net designer license, you receive setup files for 3.x, 4.x, and 5.x versions, so you can work with all three Visual Studio releases.

5. Visual Studio 2008 Notes

If you install both VG.net 4 and VG.net 5 on the same computer, please select the correct version of Prodige.Drawing.dll for your project references. Normally the dll reference SpecificVersion property can be left false, but when using both versions of Visual Studio, the SpecificVersion property must be set to true, to ensure the correct dll version is used. Use a 4.x version of Prodige.Drawing.dll for Visual Studio 2005; use a 5.x version for Visual Studio 2008.

6. Visual Studio 2005 Notes

Updgrading and Incompatibility of .resx Files

When using Visual Studio 2003, .resx files produced for Forms and UserControls containing Pictures have data Visual Studio 2005 cannot process. To work around this problem, delete .resx files for Forms and UserControls containing Pictures. If the .resx files contain important information, such as bitmaps, repair them: delete elements in the xml containing a Location property for a Picture. These elements are type System.Drawing.Point, for example:

<data name="autoSizeTest.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"><value>17, 17</value>

New Features in Visual Studio 2005

Partial classes: In Visual Studio 2005 or 2008, you have the option of placing the designer-generated code and the hand-written code for a Picture into two separate files, using a feature called partial classes. Because of a bug in Visual Studio 2005, we now encourage all developers to use partial classes, and VG.net templates use partial classes.

Modifiers property: Use this new property, under “Design,” to make the corresponding generated field for each Element private, public, protected, shared/friend, etc.

GenerateMember property: Use this new property, under “Design,” to specify whether a member or field is generated for each Element. By generating members only for animated Elements, you can reduce the memory consumed by your Picture: select each non-animated Element and set GenerateMember to false.

Problems in Visual Studio 2005

C++ Picture Designer: The VG.net Picture Designer works for C++ classes. Unfortunately a C++ compiler bug prevents use of the generated files in Visual Studio 2005. This bug may be fixed in Visual Studio 2008.

Sub Picture Fields Disappear: If you do not use partial classes, and your Picture is all contained in a single file, avoid editing a sub (child) Picture using the Picture Designer while a parent Picture using that sub Picture is also open in a designer. It is possible to lose the generated fields for your sub Picture, destroying the parent Picture. To avoid this, always use the partial class templates, which put generated code in a separate file.

Slow project open or close: If you find your projects are opening or closing slowly, try resetting the toolbox. The Toolbox in Visual Studio 2005 has breaking changes and may produce bad toolbox items. Another solution is to delete .suo files periodically.

7. Changes

Versions 3.1, 4.1, 5.1

Designer Enhancements

Run-time Only Enhancements

Bug Fixes and Obsolete Members

Versions 3.0 and 4.0

Designer Enhancements

Run-time Only Enhancements

Bug Fixes and Obsolete Members

Version 2.7a

Designer Enhancements

Samples

Run-time Only Enhancements

Bug Fixes and Obsolete Members

Version 2.6b

Run-time Only Enhancements

Bug Fixes and Obsolete Members

Version 2.6a

Designer Enhancements

Run-time Only Enhancements

Bug Fixes and Obsolete Members

Version 2.5

This version contained only internal changes.

Version 2.4b

Designer Enhancements

Run-time Only Enhancements

Bug Fixes and Obsolete Members

Version 2.4a

Designer Enhancements

Run-time Only Enhancements

Bug Fixes and Obsolete Members

Version 2.3

Version 2.2

Version 2.1b

Version 2.1

8. Future Features

To request an enhancment, please post to the Enhancements forum at:

www.vgdotnet.com/forums

Some possible future features: