Click here to Skip to main content
15,926,306 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionVSPrinter Pin
ShuklaGirish1-Jul-07 19:24
ShuklaGirish1-Jul-07 19:24 
AnswerRe: VSPrinter Pin
Dave Kreskowiak2-Jul-07 4:49
mveDave Kreskowiak2-Jul-07 4:49 
QuestionCrystal Reports Pin
ShuklaGirish1-Jul-07 19:17
ShuklaGirish1-Jul-07 19:17 
AnswerRe: Crystal Reports Pin
Xandip1-Jul-07 20:26
Xandip1-Jul-07 20:26 
QuestionChecked List Box, Select Only One Row Pin
Polymorpher1-Jul-07 19:13
Polymorpher1-Jul-07 19:13 
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 

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.