Click here to Skip to main content
15,889,867 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Get Last ID from a Table Pin
Smithers-Jones13-Feb-09 0:03
Smithers-Jones13-Feb-09 0:03 
Questionpassing parameter in system.threading.timer Pin
sohaib_a12-Feb-09 0:40
sohaib_a12-Feb-09 0:40 
AnswerRe: passing parameter in system.threading.timer Pin
Alan N12-Feb-09 0:52
Alan N12-Feb-09 0:52 
GeneralRe: passing parameter in system.threading.timer Pin
sohaib_a12-Feb-09 1:36
sohaib_a12-Feb-09 1:36 
GeneralRe: passing parameter in system.threading.timer Pin
Alan N12-Feb-09 1:44
Alan N12-Feb-09 1:44 
GeneralRe: passing parameter in system.threading.timer Pin
sohaib_a12-Feb-09 2:03
sohaib_a12-Feb-09 2:03 
GeneralRe: passing parameter in system.threading.timer Pin
Gideon Engelberth12-Feb-09 3:14
Gideon Engelberth12-Feb-09 3:14 
GeneralRe: passing parameter in system.threading.timer Pin
Alan N12-Feb-09 3:24
Alan N12-Feb-09 3:24 
Glad the problem is sorted now. The compiler has done an implicit cast of Object to String but if you were to specify "Option Strict On" in your code you would have had to explicitly code the cast.

It's not a bad idea to code with strict on as it forces you to state your intentions more precisely, i.e. this parameter of type Object is actually a String and must not be anything else. The explicit cast does that for you.

Many implicit conversions will succeed and then you can be left with a major problem debugging difficult to comprehend logic errors in your code. Option Strict On will stop many of these errors before they happen and make your code more reliable.

Alan.
QuestionHow to Enable and Disable Serial Port-Please give me the Code. Deep Request Pin
Noufe11-Feb-09 22:47
Noufe11-Feb-09 22:47 
AnswerRe: How to Enable and Disable Serial Port-Please give me the Code. Deep Request Pin
Alan N12-Feb-09 1:00
Alan N12-Feb-09 1:00 
AnswerRe: How to Enable and Disable Serial Port-Please give me the Code. Deep Request Pin
Dave Kreskowiak12-Feb-09 1:46
mveDave Kreskowiak12-Feb-09 1:46 
QuestionHow to Pass Parameter in .Net Reporting Pin
Chetan Patel11-Feb-09 22:29
Chetan Patel11-Feb-09 22:29 
AnswerRe: How to Pass Parameter in .Net Reporting Pin
Chetan Patel11-Feb-09 22:41
Chetan Patel11-Feb-09 22:41 
QuestionVariables Naming Pin
Samir Ibrahim11-Feb-09 20:28
Samir Ibrahim11-Feb-09 20:28 
AnswerRe: Variables Naming Pin
Chetan Patel11-Feb-09 22:27
Chetan Patel11-Feb-09 22:27 
GeneralRe: Variables Naming Pin
Samir Ibrahim12-Feb-09 0:20
Samir Ibrahim12-Feb-09 0:20 
AnswerRe: Variables Naming Pin
Guffa12-Feb-09 0:57
Guffa12-Feb-09 0:57 
GeneralRe: Variables Naming Pin
Samir Ibrahim12-Feb-09 1:40
Samir Ibrahim12-Feb-09 1:40 
GeneralRe: Variables Naming Pin
Dave Kreskowiak12-Feb-09 1:44
mveDave Kreskowiak12-Feb-09 1:44 
GeneralRe: Variables Naming Pin
Samir Ibrahim12-Feb-09 2:18
Samir Ibrahim12-Feb-09 2:18 
GeneralRe: Variables Naming Pin
Jon_Boy12-Feb-09 7:48
Jon_Boy12-Feb-09 7:48 
GeneralRe: Variables Naming Pin
Samir Ibrahim12-Feb-09 9:45
Samir Ibrahim12-Feb-09 9:45 
QuestionCrystal report problem Pin
mahalakshmi4211-Feb-09 19:54
mahalakshmi4211-Feb-09 19:54 
QuestionHow to apply Read lock to Record in VB 6.0 Pin
Jhanvy Thaker11-Feb-09 18:45
Jhanvy Thaker11-Feb-09 18:45 
AnswerRe: How to apply Read lock to Record in VB 6.0 Pin
Vimalsoft(Pty) Ltd11-Feb-09 22:47
professionalVimalsoft(Pty) Ltd11-Feb-09 22: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.