Microsoft KB Archive/317116

= PRB: Helpstring Information May Be Lost During COM Interop =

Article ID: 317116

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft .NET Framework 1.1
 * Microsoft .NET Framework 1.0

-



This article was previously published under Q317116



SYMPTOMS
If the helpstring attribute is used in the type library for methods and properties of COM interfaces, and if you use this COM object from a .NET application, the help text that the helpstring specifies is not available.

Similarly, when you generate a type library for the .NET class, the type library may not contain the documentation for the classes and methods.



CAUSE
The problem occurs because Tlbimp.exe and Tlbexp.exe do not currently generate the helpstring information.



STATUS
This behavior is by design.



Steps to Reproduce the Behavior

 * 1) In Visual Basic .NET, create a new Windows Application project.
 * 2) Right-click Toolbox, and then click Customize Toolbox.
 * 3) Click the COM components tab, add Microsoft FlexGrid Control to the tab, and then add the FlexGrid control to the form.
 * 4) In the properties pane, select FixedRows. Note that no description for this property appears at the bottom of the properties pane.
 * 5) Open the type library of Msflxgrd.ocx (the Microsoft FlexGrid Control) in the OLE/COM Object Viewer, and note that the FixedRows property has a helpstring attribute with a value of Returns/sets the total number of fixed (non-scrollable) columns or rows for a FlexGrid.

Keywords: kbcominterop kbinterop kbprb KB317116

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.