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

Visual Basic

 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
woodwell8-Sep-05 19:06
woodwell8-Sep-05 19:06 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
Steve Pullan8-Sep-05 19:22
Steve Pullan8-Sep-05 19:22 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
woodwell8-Sep-05 19:59
woodwell8-Sep-05 19:59 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
Steve Pullan8-Sep-05 20:28
Steve Pullan8-Sep-05 20:28 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
woodwell8-Sep-05 20:49
woodwell8-Sep-05 20:49 
QuestionHow to scan a document using Visual Basic Pin
Candor Soft7-Sep-05 21:54
Candor Soft7-Sep-05 21:54 
QuestionMScomm control in VB6 Pin
brownboy7-Sep-05 19:20
brownboy7-Sep-05 19:20 
QuestionCINT Pin
tatchung7-Sep-05 18:29
tatchung7-Sep-05 18:29 
Hi friends!

This might sound really elementary but i was just wondering how can i make sure that a user inputs an integer value. I've a textbox which has to be in integer format and when it is not, upon clicking the save button, my field validator should shows up and resets the textbox to "". I've tried this code but it doesn't seem to work...

If Cint(TextBox1.Text) = false then
  RFV1.Validate()
TextBox1.Text = ""
Else
  'does the saving
End If


It throws an exception that input string is not in correct format. How do i go about fixing this? Thanx to all!



Kampai!!!
AnswerRe: CINT Pin
Christian Graus7-Sep-05 19:00
protectorChristian Graus7-Sep-05 19:00 
GeneralRe: CINT Pin
tatchung7-Sep-05 19:50
tatchung7-Sep-05 19:50 
GeneralRe: CINT Pin
Christian Graus7-Sep-05 19:59
protectorChristian Graus7-Sep-05 19:59 
GeneralRe: CINT Pin
tatchung7-Sep-05 20:04
tatchung7-Sep-05 20:04 
GeneralRe: CINT Pin
Dave Kreskowiak8-Sep-05 1:56
mveDave Kreskowiak8-Sep-05 1:56 
Answer[Message Deleted] Pin
Steve Pullan7-Sep-05 19:05
Steve Pullan7-Sep-05 19:05 
QuestionChange Font map on windows Pin
dmtuan7-Sep-05 17:15
dmtuan7-Sep-05 17:15 
QuestionRichTextBox FontStyles Pin
Taen_Karth7-Sep-05 15:23
Taen_Karth7-Sep-05 15:23 
AnswerRe: RichTextBox FontStyles Pin
Taen_Karth7-Sep-05 15:59
Taen_Karth7-Sep-05 15:59 
Questionsome guidance in making project setup Pin
monica2k7-Sep-05 14:39
monica2k7-Sep-05 14:39 
QuestionHow to delete a row from a datagrid:-( Pin
macupryk7-Sep-05 14:38
macupryk7-Sep-05 14:38 
AnswerRe: How to delete a row from a datagrid:-( Pin
mcgann8-Sep-05 4:54
mcgann8-Sep-05 4:54 
QuestionOdbc Parameter error Pin
Mark067-Sep-05 11:53
Mark067-Sep-05 11:53 
QuestionOutlook Mapi older failure Pin
Member 20812627-Sep-05 10:53
Member 20812627-Sep-05 10:53 
QuestionForm Height Pin
No-e7-Sep-05 5:31
No-e7-Sep-05 5:31 
AnswerRe: Form Height Pin
Dave Kreskowiak7-Sep-05 5:39
mveDave Kreskowiak7-Sep-05 5:39 
GeneralRe: Form Height Pin
No-e7-Sep-05 5:45
No-e7-Sep-05 5:45 

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.