Click here to Skip to main content
15,898,373 members
Home / Discussions / C#
   

C#

 
GeneralRe: Blobs are driving me insane!!!!! Pin
kornstyle21-Jul-05 9:45
kornstyle21-Jul-05 9:45 
GeneralDead Keys Pin
Loveday7821-Jul-05 4:25
Loveday7821-Jul-05 4:25 
GeneralRe: Dead Keys Pin
LongRange.Shooter21-Jul-05 4:39
LongRange.Shooter21-Jul-05 4:39 
GeneralRe: Dead Keys Pin
Loveday7821-Jul-05 5:00
Loveday7821-Jul-05 5:00 
GeneralRe: Dead Keys Pin
Daniel Turini21-Jul-05 4:58
Daniel Turini21-Jul-05 4:58 
GeneralRe: Dead Keys Pin
Loveday7821-Jul-05 5:04
Loveday7821-Jul-05 5:04 
GeneralSearching for drag and drop item in listbox Pin
PHDENG8121-Jul-05 4:23
PHDENG8121-Jul-05 4:23 
GeneralRe: Searching for drag and drop item in listbox Pin
LongRange.Shooter21-Jul-05 4:37
LongRange.Shooter21-Jul-05 4:37 
Based on the small amount of information you have provided I can rather quickly guess what the problem may be.

It sounds like you have an initialized listbox. What object type are you initializing it with? Are you populating it with TreeNode or ListViewItem or String? If you drop a TreeNode onto the listbox, it may accept the Treenode object instead of the TreeNode.ToString(). Then when you loop through the table you have mixed object types in your list. If you are casting the Item to a specific type, you'll get an exception if you are doing
a = (myObject)item;
and you will get null if you do
a= item as myObject;


There are 10 kinds of people in the world.

Those that read binary...

...and those who don't.

GeneralRe: Searching for drag and drop item in listbox Pin
PHDENG8121-Jul-05 5:28
PHDENG8121-Jul-05 5:28 
GeneralRe: Searching for drag and drop item in listbox Pin
PHDENG8121-Jul-05 5:38
PHDENG8121-Jul-05 5:38 
QuestionHow to verify user input during application installation? Pin
sparks_lu21-Jul-05 4:14
sparks_lu21-Jul-05 4:14 
AnswerRe: How to verify user input during application installation? Pin
Alomgir Miah21-Jul-05 6:29
Alomgir Miah21-Jul-05 6:29 
GeneralIF / WHILE questions Pin
WetRivrRat21-Jul-05 3:58
WetRivrRat21-Jul-05 3:58 
GeneralRe: IF / WHILE questions Pin
LongRange.Shooter21-Jul-05 4:28
LongRange.Shooter21-Jul-05 4:28 
GeneralRe: IF / WHILE questions Pin
WetRivrRat21-Jul-05 4:36
WetRivrRat21-Jul-05 4:36 
GeneralRe: IF / WHILE questions Pin
Dave Kreskowiak21-Jul-05 4:44
mveDave Kreskowiak21-Jul-05 4:44 
GeneralRe: IF / WHILE questions Pin
WetRivrRat21-Jul-05 4:49
WetRivrRat21-Jul-05 4:49 
GeneralRe: IF / WHILE questions Pin
LongRange.Shooter21-Jul-05 4:48
LongRange.Shooter21-Jul-05 4:48 
QuestionGetting my own memory stats? Pin
LongRange.Shooter21-Jul-05 3:54
LongRange.Shooter21-Jul-05 3:54 
AnswerRe: Getting my own memory stats? Pin
Dave Kreskowiak21-Jul-05 4:42
mveDave Kreskowiak21-Jul-05 4:42 
GeneralReusable Toolbox Images Pin
dirkhelmet21-Jul-05 3:27
dirkhelmet21-Jul-05 3:27 
GeneralRe: Reusable Toolbox Images Pin
LongRange.Shooter21-Jul-05 3:59
LongRange.Shooter21-Jul-05 3:59 
GeneralRe: Reusable Toolbox Images Pin
dirkhelmet21-Jul-05 4:16
dirkhelmet21-Jul-05 4:16 
GeneralRe: Reusable Toolbox Images Pin
LongRange.Shooter21-Jul-05 4:26
LongRange.Shooter21-Jul-05 4:26 
GeneralIcon in ListView item Pin
george ivanov21-Jul-05 2:41
george ivanov21-Jul-05 2:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.