The information in this article applies to:
SYMPTOMSSetting the DataSource property of a control to the name of a data control that does not exist may cause a GPF with the following information:
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been fixed in Visual Studio
97 Service Pack 2.
MORE INFORMATIONSteps to Reproduce BehaviorTo reproduce the problem, place a data control (either standard or remote) on a form. Set its Name property to "ExtremelyLongName" and set its Index property to 0. Place a textbox (or any other control that can be bound) on the form and set its DataSource property to "Foo." Run the project and the problem will occur.Besides trying to bind a control to a non-existent data control, in order to reproduce the problem the data control must be part of a control array and its Name property must be longer than any name used in the DataSource property of the bound controls. Additional query words:
Keywords : kbVBp500 kbVS97sp2fix kbvbp500sp2fix |
Last Reviewed: June 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |