Click here to Skip to main content
15,905,414 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: problem Pin
darkelv11-Apr-06 20:38
darkelv11-Apr-06 20:38 
AnswerRe: problem Pin
Dave Kreskowiak12-Apr-06 1:30
mveDave Kreskowiak12-Apr-06 1:30 
GeneralRe: problem Pin
Michael P Butler12-Apr-06 1:46
Michael P Butler12-Apr-06 1:46 
GeneralRe: problem Pin
Dave Kreskowiak12-Apr-06 2:26
mveDave Kreskowiak12-Apr-06 2:26 
GeneralRe: problem Pin
J4amieC12-Apr-06 2:33
J4amieC12-Apr-06 2:33 
Questionproblem Pin
pankajgarg1211-Apr-06 19:28
pankajgarg1211-Apr-06 19:28 
AnswerRe: problem Pin
Steve Pullan11-Apr-06 20:17
Steve Pullan11-Apr-06 20:17 
AnswerRe: problem Pin
Dave Kreskowiak12-Apr-06 1:38
mveDave Kreskowiak12-Apr-06 1:38 
Go back to Programming 101. You develop a set of tests at the same time you write the code. There's even a great argument for writing the tests BEFORE you write the code it's going to test.

If a function is expects to return values between this and that, the you script your test to try input values that are inside and outside of the range of inputs that the function expects to see what its output would be. You especially try input values on the "border" of what the expected input and output limits would be.

If you function epects an input value of 0 to 99, what happens when the function gets a negative number? What happened at -1, 0, and 1? What happens at 98, 99, 100? What happens with excessively large and excessively small numbers? Is the output of the function as expected?

If you can't figure this out, toss the job application in the trash now. You're not ready...


Dave Kreskowiak
Microsoft MVP - Visual Basic

Questionproblem Pin
pankajgarg1211-Apr-06 19:27
pankajgarg1211-Apr-06 19:27 
GeneralRe: problem Pin
Guffa11-Apr-06 23:02
Guffa11-Apr-06 23:02 
Questionproblem Pin
pankajgarg1211-Apr-06 19:26
pankajgarg1211-Apr-06 19:26 
GeneralRe: problem Pin
Guffa11-Apr-06 23:02
Guffa11-Apr-06 23:02 
Questionclass and module Pin
pankajgarg1211-Apr-06 19:26
pankajgarg1211-Apr-06 19:26 
AnswerRe: class and module Pin
Guffa11-Apr-06 23:02
Guffa11-Apr-06 23:02 
AnswerRe: class and module Pin
Dave Doknjas12-Apr-06 13:35
Dave Doknjas12-Apr-06 13:35 
Questionaccessing buttons in vb 6.0 thru loop Pin
noshaba mariam11-Apr-06 17:56
noshaba mariam11-Apr-06 17:56 
AnswerRe: accessing buttons in vb 6.0 thru loop Pin
Steve Pullan11-Apr-06 20:26
Steve Pullan11-Apr-06 20:26 
GeneralRe: accessing buttons in vb 6.0 thru loop Pin
noshaba mariam11-Apr-06 22:25
noshaba mariam11-Apr-06 22:25 
GeneralRe: accessing buttons in vb 6.0 thru loop Pin
Dave Kreskowiak12-Apr-06 1:19
mveDave Kreskowiak12-Apr-06 1:19 
GeneralRe: accessing buttons in vb 6.0 thru loop Pin
Steve Pullan12-Apr-06 14:21
Steve Pullan12-Apr-06 14:21 
QuestionPlaceHolder web control Pin
uglyeyes11-Apr-06 15:33
uglyeyes11-Apr-06 15:33 
Questionhow to create controls in run time Pin
thruman611-Apr-06 11:56
thruman611-Apr-06 11:56 
AnswerRe: how to create controls in run time Pin
PremalathaP12-Apr-06 0:56
PremalathaP12-Apr-06 0:56 
Questionvs 2003 bold type in 1 column of Datagrid win form Pin
woodsprite11-Apr-06 11:40
woodsprite11-Apr-06 11:40 
QuestionCommenting methods in Class Library Pin
Fragsome11-Apr-06 9:56
Fragsome11-Apr-06 9:56 

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.