Click here to Skip to main content
15,924,679 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How can I capture the New Mail Event Handle? Pin
bhartik2-Mar-04 18:53
bhartik2-Mar-04 18:53 
GeneralRe: How can I capture the New Mail Event Handle? Pin
bhartik9-Mar-04 22:15
bhartik9-Mar-04 22:15 
GeneralHelp me in generating data reports Pin
DurgaGaneshKalam29-Feb-04 23:33
DurgaGaneshKalam29-Feb-04 23:33 
GeneralRe: Help me in generating data reports Pin
BlackDice4-Mar-04 9:58
BlackDice4-Mar-04 9:58 
GeneralYour suggestion Pin
len_ems29-Feb-04 20:24
len_ems29-Feb-04 20:24 
Generalover/under flow question Pin
justmeTW29-Feb-04 20:14
justmeTW29-Feb-04 20:14 
GeneralRe: over/under flow question Pin
apferreira1-Mar-04 14:36
apferreira1-Mar-04 14:36 
GeneralRe: over/under flow question Pin
justmeTW1-Mar-04 18:37
justmeTW1-Mar-04 18:37 
So to use the try/catch for the over/underflow the code should be something like this:

Try
myAnswer = myNumber1 / myNumber2
MessageBox.Show(msg1, "Invalid format")
Catch ex1 as System.OverflowException
msg1 = "Error: Invalid Arguement," & vbCrLt _
& ex1.message
End Try

Is this what I would use to bypass the overflow and underflow error exception?

apferreira wrote:
I would suggest using an extended textobx control that would validate user input instead of using try/catch clauses.

Can you go a little more into depth? And if possible an example code. If I see the code I understand more. Thanks so much for the help
GeneralRe: over/under flow question Pin
apferreira2-Mar-04 2:24
apferreira2-Mar-04 2:24 
GeneralHelp with a simple VB project Pin
yessi29-Feb-04 9:52
yessi29-Feb-04 9:52 
GeneralRe: Help with a simple VB project Pin
Nadroj29-Feb-04 11:42
Nadroj29-Feb-04 11:42 
QuestionCreating "Hot Spots" on an image.. ? Pin
coopsqc29-Feb-04 8:53
coopsqc29-Feb-04 8:53 
AnswerRe: Creating "Hot Spots" on an image.. ? Pin
Dave Kreskowiak29-Feb-04 11:03
mveDave Kreskowiak29-Feb-04 11:03 
GeneralRe: Creating "Hot Spots" on an image.. ? Pin
coopsqc29-Feb-04 23:33
coopsqc29-Feb-04 23:33 
AnswerRe: Creating "Hot Spots" on an image.. ? Pin
Nadroj29-Feb-04 11:51
Nadroj29-Feb-04 11:51 
GeneralRe: Creating "Hot Spots" on an image.. ? Pin
coopsqc29-Feb-04 23:31
coopsqc29-Feb-04 23:31 
QuestionHow to shutdown system through code Pin
Pugman81228-Feb-04 20:43
Pugman81228-Feb-04 20:43 
AnswerRe: How to shutdown system through code Pin
Wayne Phipps29-Feb-04 0:10
Wayne Phipps29-Feb-04 0:10 
QuestionHow to do form effect in VB6 Pin
GaryKoh28-Feb-04 17:12
GaryKoh28-Feb-04 17:12 
AnswerRe: How to do form effect Pin
Dave Kreskowiak29-Feb-04 3:35
mveDave Kreskowiak29-Feb-04 3:35 
AnswerRe: How to do form effect in VB6 Pin
gpa200029-Feb-04 21:23
gpa200029-Feb-04 21:23 
Generalvb.net skin forms Pin
SplatterX28-Feb-04 6:04
SplatterX28-Feb-04 6:04 
GeneralRe: vb.net skin forms Pin
erikkloeze2-Mar-04 22:40
erikkloeze2-Mar-04 22:40 
GeneralProblem Runtime Error 430 continues Pin
erikkloeze28-Feb-04 3:25
erikkloeze28-Feb-04 3:25 
GeneralRe: Problem Runtime Error 430 continues Pin
GabM28-Feb-04 4:36
GabM28-Feb-04 4:36 

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.