Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Disappearing .Text

Reply
 
Old 03-25-2008   #1 (permalink)
SteveKing


 
 

Disappearing .Text

My vb.net application accesses a SQL Server database and binds data to
combobox .Text properties. Some form combobox and textbox controls are
automatically populated based on information discovered in the database. I
use a class to return the data values and add them to a combobox. When the
user selects a value the SelectionChangeCommitted fires and I CType the item
to the class. Values are then successfully used to populate the .text
properties of two other controls. When I move the focus off the combobox I
used to perform the selection, all the .Text values disappear. I've verified
no other form event causes them to be nulled and debugged from the End Sub on
the SelectionChangeCommitted event and have not been successful in finding
the cause. It sounds like an out-of-scope problem but I convert to strings
before making any assignments. Any help would be appreciated.

My System SpecsSystem Spec
Old 03-25-2008   #2 (permalink)
SteveKing


 
 

RE: Disappearing .Text



"SteveKing" wrote:
Quote:

> My vb.net application accesses a SQL Server database and binds data to
> combobox .Text properties. Some form combobox and textbox controls are
> automatically populated based on information discovered in the database. I
> use a class to return the data values and add them to a combobox. When the
> user selects a value the SelectionChangeCommitted fires and I CType the item
> to the class. Values are then successfully used to populate the .text
> properties of two other controls. When I move the focus off the combobox I
> used to perform the selection, all the .Text values disappear. I've verified
> no other form event causes them to be nulled and debugged from the End Sub on
> the SelectionChangeCommitted event and have not been successful in finding
> the cause. It sounds like an out-of-scope problem but I convert to strings
> before making any assignments. Any help would be appreciated.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
MVP's, text to speech!!, Can I dictate in other text input program Vista General
Howto: Add lines of text from a specific point in a text file.. VB Script
Disappearing Text/buttons in Dialogue Boxes Vista performance & maintenance
Disappearing text....... Vista General
How do I read a text file and sort text by fixed positions? PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46