The Visual Basic XML code generator truncates the class names in the of the generated files in the data binding code.

The Problem
The VB 6 produces a COM (ActiveX) dll, classes in COM are limited to a ProgID of 39 chars. This takes the format 'ProjectName.ClassName', so the class names must be truncated to fit.
In order to ensure the code compiles, the XML class generator truncates long names and appends a unique value to any that clash.

The Solution
A work around to this is to either shorten the names of the items defined in your schema, or shorten the name of the Project.







© 2001-2010 Liquid Technologies Limited. All rights reserved. Privacy Statement