Click here to Skip to main content
15,927,694 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Checked List Box, Select Only One Row Pin
CPallini1-Jul-07 22:07
mveCPallini1-Jul-07 22:07 
Questionhow can i get "Data Type" using enterprise library Pin
warwarphoo1-Jul-07 18:01
warwarphoo1-Jul-07 18:01 
AnswerRe: how can i get "Data Type" using enterprise library Pin
SHatchard2-Jul-07 2:08
SHatchard2-Jul-07 2:08 
There may be an easier way but you can convert the type name to a string and compare using that

eg

Select Case typeof(myobject).ToString
Case GetType(String).ToString
Return "This is a string"
Case GetType(Integer).ToString
Return "This is a number"
Case else
return "Unhandled type: " & typeof(myobject).tostring
End Select

What that is doing is getting the string definition of the 'myobject' and then comparing that to the string values of the types of integer, string, etc

There is probably a better way of doing this but it should work OK.
Questionprogress bar Pin
hsprasain1-Jul-07 17:33
hsprasain1-Jul-07 17:33 
AnswerRe: progress bar Pin
smguc1-Jul-07 17:52
smguc1-Jul-07 17:52 
GeneralRe: progress bar Pin
smguc1-Jul-07 17:58
smguc1-Jul-07 17:58 
GeneralRe: progress bar Pin
hsprasain1-Jul-07 19:27
hsprasain1-Jul-07 19:27 
GeneralRe: progress bar Pin
smguc1-Jul-07 19:40
smguc1-Jul-07 19:40 
QuestionMultiple thumbs on a slider control, Help?... Pin
smguc1-Jul-07 17:26
smguc1-Jul-07 17:26 
AnswerRe: Multiple thumbs on a slider control, Help?... Pin
Dave Kreskowiak2-Jul-07 4:48
mveDave Kreskowiak2-Jul-07 4:48 
GeneralRe: Multiple thumbs on a slider control, Help?... Pin
smguc9-Jul-07 2:35
smguc9-Jul-07 2:35 
QuestionArray problems Pin
Bruce Leigh1-Jul-07 15:47
Bruce Leigh1-Jul-07 15:47 
AnswerRe: Array problems [modified] Pin
EvScott1-Jul-07 15:58
EvScott1-Jul-07 15:58 
AnswerRe: Array problems Pin
SHatchard2-Jul-07 2:18
SHatchard2-Jul-07 2:18 
QuestionFields go missing Pin
Brendan Vogt1-Jul-07 14:07
Brendan Vogt1-Jul-07 14:07 
AnswerRe: Fields go missing [modified] Pin
EvScott1-Jul-07 15:37
EvScott1-Jul-07 15:37 
GeneralRe: Fields go missing Pin
Brendan Vogt1-Jul-07 23:06
Brendan Vogt1-Jul-07 23:06 
GeneralRe: Fields go missing Pin
EvScott2-Jul-07 2:40
EvScott2-Jul-07 2:40 
Questioncombobox in DataGridView control Pin
manisghouri1-Jul-07 13:50
manisghouri1-Jul-07 13:50 
AnswerRe: combobox in DataGridView control Pin
sathesh pandian1-Jul-07 19:19
sathesh pandian1-Jul-07 19:19 
QuestionVirtual keyboard losing window focus. Help! Pin
remarkpk111-Jul-07 13:32
remarkpk111-Jul-07 13:32 
QuestionMAPISession not fetching MS Outlook Emails Pin
EvScott1-Jul-07 8:35
EvScott1-Jul-07 8:35 
QuestionBreaking up strings Pin
Brendan Vogt1-Jul-07 6:43
Brendan Vogt1-Jul-07 6:43 
AnswerRe: Breaking up strings Pin
Guffa1-Jul-07 7:03
Guffa1-Jul-07 7:03 
GeneralRe: Breaking up strings Pin
TwoFaced1-Jul-07 10:47
TwoFaced1-Jul-07 10:47 

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.