Click here to Skip to main content
15,921,542 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Instant Messenger Pin
tranceunte5-Jan-07 11:07
tranceunte5-Jan-07 11:07 
AnswerRe: Instant Messenger Pin
Vasudevan Deepak Kumar5-Jan-07 22:23
Vasudevan Deepak Kumar5-Jan-07 22:23 
QuestionDatabase issues Pin
Karma312515-Jan-07 10:16
Karma312515-Jan-07 10:16 
AnswerRe: Database issues Pin
Colin Angus Mackay5-Jan-07 14:13
Colin Angus Mackay5-Jan-07 14:13 
GeneralRe: Database issues Pin
kermit885-Jan-07 16:55
kermit885-Jan-07 16:55 
GeneralRe: Database issues Pin
Colin Angus Mackay6-Jan-07 0:08
Colin Angus Mackay6-Jan-07 0:08 
QuestionNew class Pin
Marcus J. Smith5-Jan-07 9:50
professionalMarcus J. Smith5-Jan-07 9:50 
AnswerRe: New class Pin
Christian Graus5-Jan-07 9:55
protectorChristian Graus5-Jan-07 9:55 
you should never use CStr/CDate. This is VB6 holdover stuff. Convert.ToXXX is your best bet, unless you don't know if the input is clean, then stuff like int.TryParse should be your first port of call.

In C# you can do this:

object o;
...

MyClass x = o as MyClass;

in this instance, x will be null if o is not an instance of myClass. You can also do this

if (o is MyClass)
{
// o is an instance of MyClass

}

I am sure VB can do the same, but I don't know the syntax.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

QuestionNeed a help to design a 3-tier architecture Pin
hmt20045-Jan-07 8:10
hmt20045-Jan-07 8:10 
AnswerRe: Need a help to design a 3-tier architecture Pin
Christian Graus5-Jan-07 9:58
protectorChristian Graus5-Jan-07 9:58 
QuestionHow to send text in status bar and blank Data Grid cell Pin
rehan_cop5-Jan-07 6:58
rehan_cop5-Jan-07 6:58 
AnswerRe: How to send text in status bar and blank Data Grid cell Pin
Thomas Stockwell6-Jan-07 8:34
professionalThomas Stockwell6-Jan-07 8:34 
QuestionInsert into MySql using vb.net Pin
jds12075-Jan-07 5:42
jds12075-Jan-07 5:42 
AnswerRe: Insert into MySql using vb.net Pin
Colin Angus Mackay5-Jan-07 5:46
Colin Angus Mackay5-Jan-07 5:46 
QuestionHelp to find an error!! Pin
tranceunte5-Jan-07 4:54
tranceunte5-Jan-07 4:54 
Questionview installed softwares Pin
MjRazzaghi4-Jan-07 23:57
MjRazzaghi4-Jan-07 23:57 
AnswerRe: view installed softwares Pin
MatrixCoder5-Jan-07 3:42
MatrixCoder5-Jan-07 3:42 
Questiondatabase table problem implementation in vb.net Pin
amaneet4-Jan-07 23:14
amaneet4-Jan-07 23:14 
QuestionWrong Exception which called Microsft Exception Block Pin
vivek_cs4-Jan-07 21:32
vivek_cs4-Jan-07 21:32 
AnswerRe: Wrong Exception which called Microsft Exception Block Pin
Colin Angus Mackay4-Jan-07 22:28
Colin Angus Mackay4-Jan-07 22:28 
QuestionObtaining Random Numbers Pin
WestSideRailways4-Jan-07 20:52
WestSideRailways4-Jan-07 20:52 
AnswerRe: Obtaining Random Numbers Pin
Christian Graus4-Jan-07 21:25
protectorChristian Graus4-Jan-07 21:25 
GeneralRe: Obtaining Random Numbers Pin
CPallini4-Jan-07 21:47
mveCPallini4-Jan-07 21:47 
AnswerRe: Obtaining Random Numbers Pin
CPallini4-Jan-07 21:34
mveCPallini4-Jan-07 21:34 
GeneralRe: Obtaining Random Numbers [modified] Pin
WestSideRailways4-Jan-07 23:14
WestSideRailways4-Jan-07 23:14 

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.