|
-
Dec 30th, 2005, 04:14 PM
#1
Thread Starter
Lively Member
[RESOLVED] error messages during build
Hi I am debugging an application I have built in vb studio 2002 I then upgraded to vbexpress 2005 it has picked up on what i presume is my bad programing the most common one is that I have several combo boxs where the user can pick an option and dependant on thier selection this or that is done. well the way i have done it vb does not like it comes up with this error message :-
"Warning 32 Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur."
It is refering to this line of code:-
"Select Case nop_combo.SelectedItem"
what is wrong with using the select case method, and if I cannot use that will the old if then method be any better.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|