Click here to Skip to main content
16,006,006 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
GeneralRe: over/under flow question Pin
apferreira2-Mar-04 2:24
apferreira2-Mar-04 2:24 
The MessageBox.Show method should be inside the catch statament, i.e.


Try<br />
 <br />
var1=number1/number2<br />
<br />
Catch e As System.OverflowException         <br />
<br />
MessageBox.Show("Error:Invalid Argument" & e.Message","Invalid format")<br />
<br />
End Try


As for the extended textbox control that validates user input, I suggest you read the following CodeProject articles:

Validating TextBoxControls[^]

Validating TextBox[^]

And for a more general view on custom control development, I suggest the following MSDN article

Developing Custom Windows Controls using Visual Basic NET[^]
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 &quot;Hot Spots&quot; on an image.. ? Pin
coopsqc29-Feb-04 8:53
coopsqc29-Feb-04 8:53 
AnswerRe: Creating &quot;Hot Spots&quot; on an image.. ? Pin
Dave Kreskowiak29-Feb-04 11:03
mveDave Kreskowiak29-Feb-04 11:03 
GeneralRe: Creating &quot;Hot Spots&quot; on an image.. ? Pin
coopsqc29-Feb-04 23:33
coopsqc29-Feb-04 23:33 
AnswerRe: Creating &quot;Hot Spots&quot; on an image.. ? Pin
Nadroj29-Feb-04 11:51
Nadroj29-Feb-04 11:51 
GeneralRe: Creating &quot;Hot Spots&quot; 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 
GeneralCapturing Image from Webcam Pin
parthmankad27-Feb-04 19:20
parthmankad27-Feb-04 19:20 

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.