Table of Contents

Enum VB6ImportDiagnosticKind

Namespace
RDCore.Forms.Import.VB6
Assembly
RDCore.Forms.dll

What a VB6 import reports about a line of a designer file.

public enum VB6ImportDiagnosticKind

Fields

InvalidValue = 11

A property's value is not one the property can hold, or the property cites a companion record and is of a type that has none, so the property is kept as an UnmodelledProperty. An Index that is not a number from 0 to 32767 is kept the same way, and the component is in no control array.

MalformedLine = 2

A line of the designer half is neither a block's Begin or End, nor a property.

MisplacedComponent = 10

A component is inside a component that cannot hold it, such as a control inside a ListBox, so it is placed in the nearest enclosing component that can, with its position as written.

MissingCompanion = 12

A property cites a companion binary file that was not found, or by a name that is not looked for (a rooted path, or a name that holds a NUL), so the property is kept as text.

MissingRecord = 13

A property cites a record the companion binary file does not hold, or holds in a shape the property cannot read, so the property is kept as text.

NamelessComponent = 5

A Begin line names no component, so the block is kept as text. A root with no name leaves the file with no form.

NestingTooDeep = 6

A block is nested deeper than MaxNestingDepth blocks, so it is kept as text, its own contents included.

NoDesignerBlock = 0

The file has no Begin block, so it holds no form.

NotAFormRoot = 1

The file's root block is not a Form, an MDIForm, a UserControl or a PropertyPage, so the block is kept as text.

UnbalancedBlock = 3

A Begin or BeginProperty has no matching End or EndProperty. A BeginProperty left open ends at the End of its block, and a Begin left open ends with the file.

UnmatchedEnd = 4

An EndProperty closes no open BeginProperty, so the line is skipped.

UnmodelledClass = 9

A component's class is not one the model has as a control or a menu, so the component is kept as text.

UnmodelledHeaderLine = 8

A header line is not a control library's, so it is kept as text.

UnreadLibraryReference = 7

A header line names a control library by something other than its type library's id, such as a project of the same group, so it is kept as text.