Winform Reports for .NET
   Home
   Product Comparison
   Products
     PrintForm .NET
     PrintControls .NET
     PrintAdapters .NET
     PrintPreviewDialog .NET
     Localizer ASP.NET
     WebExtenders ASP.NET
   Downloads
     Free Trial Versions
     Upgrades
   Documents & Papers
   Purchase
   Support Index
   Press Releases
   Contact Us
   Privacy Statement
 
 
 
Go to TMG Development Ltd Website
Microsoft Certified Partner

HowTo: Use the Upgrade Utility to Convert Your Applications to Work With the Latest PrintForm, PrintControls and PrintAdapter Products

ID: W3298001

 

Background

Applications written using the following product versions will need to be modified to work with newer releases:

  • PrintForm version 2.0.1.6 and earlier
  • PrintAdapters version 2.0.1.2 and earlier
  • PrintControls version 1.0.0.1 and earlier
  • PrintPreview version 1.0.0.0

Releases of PrintForm, PrintControls, PrintAdapters and PrintPreview with version numbers higher than those listed above introduced the following namespace and type name changes that require modification in your project. If you need to make these changes manually, the details are listed below, but we suggest you use the Upgrade Utility to automatically upgrade your projects.

Upgrade Utility

  This utility available for free download here. It requires a minumum of .NET v1.0.

 

Details of Namespace and Typename Changes

PrintChaining.dll

Assembly Name. This assembly was shared between PrintForm, PrintControls and PrintAdapters and was located under Program Files\Common Files\TMG Development Ltd\PrintChaining. It is now renamed to TMGDevelopment.Shared.dll and is located under Program Files\Common Files\TMG Development Ltd\Shared. Project references will need to be refreshed (delete reference and add again).

Type Names. The following PrintChaining Type names have changed:
TMGDevelopment.Printing.PrintChainManager changed to TMGDevelopment.Windows.Forms.PrintChainManager
TMGDevelopment.Common.DefaultableSingle changed to TMGDevelopment.DefaultableSingle
TMGDevelopment.Common.DefaultableBoolean changed to TMGDevelopment.DefaultableBoolean

PrintForm.dll

Assembly Name. This assembly contains the main components for PrintForm and is located under Program Files\TMG Development Ltd\PrintForm Printing Component. It is now renamed to TMGDevelopment.PrintForm.dll. Project references will need to be refreshed (delete reference and add again).

Type Names. The following PrintForm Type names have changed:
TMGDevelopment.PrintForm.PrintForm changed to TMGDevelopment.Windows.Forms.PrintForm

PrintAdapters.dll

Assembly Name. This assembly contains the main components for PrintAdapters and is located under Program Files\TMG Development Ltd\PrintAdapters Printing Components. It is now renamed to TMGDevelopment.PrintAdapters.dll. Project references will need to be refreshed (delete reference and add again).

Namespace Names. The following PrintAdapters namespace names have changed:
TMGDevelopment.PrintAdapters changed to TMGDevelopment.Windows.Forms
TMGDevelopment.Drawing changed to TMGDevelopment.Windows.Forms

PrintControls.dll

Assembly Name. This assembly contains the main components for PrintControls and is located under Program Files\TMG Development Ltd\PrintControls Printing Components. It is now renamed to TMGDevelopment.PrintControls.dll. Project references will need to be refreshed (delete reference and add again).

Namespace Names. The following PrintControls namespace names have changed:
TMGDevelopment.PrintControls changed to TMGDevelopment.Windows.Forms
TMGDevelopment.Common.Barcoding changed to TMGDevelopment.Barcoding

Type Names. The following PrintControl Type names have changed:
TMGDevelopment.Windows.Forms.CornerStyle changed to TMGDevelopment.Windows.Forms.CornerType
TMGDevelopment.Windows.Forms.FillStyle changed to TMGDevelopment.Windows.Forms.FillType
TMGDevelopment.Windows.Forms.Border changed to TMGDevelopment.Windows.Forms.BorderStyle
TMGDevelopment.Windows.Forms.Corner changed to TMGDevelopment.Windows.Forms.CornerStyle

Printing.dll

Assembly Name. This assembly contains the main components for PrintPreview and is located under Program Files\TMG Development Ltd\PrintPreview Printing Components. It is now renamed to TMGDevelopment.PrintPreview.dll. Project references will need to be refreshed (delete reference and add again). NOTE: PrintPreview now also depends on TMGDevelopment.Shared.dll, so you will need to add a reference to this as well when re-referencing PrintPreview.

Namespace Names. The following PrintPreview namespace names have changed:
TMGDevelopment.Printing changed to TMGDevelopment.Windows.Forms

Type Names. The following PrintControl Type names have changed:
TMGDevelopment.Printing.PrintPreviewDialog changed to TMGDevelopment.Windows.Forms.PrintPreviewDialog

Licenses.licx

The licenses.licx file in projects using any of the above will need to be updated to reflect the namespace changes, as follows:

  • TMGDevelopment.PrintForm changed to TMGDevelopment.Windows.Forms
  • TMGDevelopment.PrintAdapters changed to TMGDevelopment.Windows.Forms
  • TMGDevelopment.PrintControls changed to TMGDevelopment.Windows.Forms
  • TMGDevelopment.Printing changed to TMGDevelopment.Windows.Forms, Printing (second term on line) changed to TMGDevelopment.PrintPreview e.g. the line in licenses.licx should now be like this: TMGDevelopment.Windows.Forms.PrintPreviewDialog, TMGDevelopment.PrintPreview, Version=1.1.0.0, Culture=neutral, PublicKeyToken=cb51e09df98aa227

Last updated 09-Mar-2019