Click here to Skip to main content
15,914,327 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionListview Pin
ejaz_pk11-Aug-07 4:58
ejaz_pk11-Aug-07 4:58 
AnswerRe: Listview Pin
Johan Hakkesteegt13-Aug-07 21:39
Johan Hakkesteegt13-Aug-07 21:39 
QuestionProblems with update method Pin
dcode2511-Aug-07 4:47
dcode2511-Aug-07 4:47 
QuestionPrinting Problem in VB6 Pin
yogesh_kumar_agarwal11-Aug-07 1:02
yogesh_kumar_agarwal11-Aug-07 1:02 
AnswerRe: Printing Problem in VB6 Pin
Dave Kreskowiak11-Aug-07 6:55
mveDave Kreskowiak11-Aug-07 6:55 
QuestionDataview Pin
SamRST11-Aug-07 0:50
SamRST11-Aug-07 0:50 
AnswerRe: Dataview Pin
Dave Kreskowiak13-Aug-07 4:01
mveDave Kreskowiak13-Aug-07 4:01 
QuestionChec whether an input is invalid Pin
x-Taka-x11-Aug-07 0:42
x-Taka-x11-Aug-07 0:42 
Hi there..
I want my application to check whether an input in a textbox is invalid when cmdAddDB is clicked.
It should check if there is a string for DByear value.
****************************************
DByear is declared as private integer

Sub CmdAddDBClick(sender As Object, e As System.EventArgs)

'check whether the textboxes are empty
If txtYear.text = "" OrElse txtMonth.text = "" OrElse txtDay.text = "" Then

'inform user of error
Messagebox.Show("Missing Information")

'clears all textboxes
txtYear.Text = ""
txtMonth.Text = ""
txtDay.Text = ""
Else
'set the textboxes to private variables & convert textboxes to
'integer values
DByear = CInt(txtYear.Text)
DBmonth = CInt(txtMonth.Text)
DBday = CInt(txtDay.Text)
End If
End Sub
****************************
Please can anyone help?
Thanx
AnswerRe: Chec whether an input is invalid Pin
Mudsoad11-Aug-07 3:40
Mudsoad11-Aug-07 3:40 
GeneralRe: Chec whether an input is invalid Pin
x-Taka-x11-Aug-07 8:02
x-Taka-x11-Aug-07 8:02 
GeneralRe: Chec whether an input is invalid Pin
Colin Angus Mackay11-Aug-07 8:12
Colin Angus Mackay11-Aug-07 8:12 
Questionmerge string on image Pin
eyes200710-Aug-07 22:38
eyes200710-Aug-07 22:38 
AnswerRe: merge string on image Pin
Guffa11-Aug-07 2:42
Guffa11-Aug-07 2:42 
GeneralRe: merge string on image Pin
eyes200711-Aug-07 3:26
eyes200711-Aug-07 3:26 
GeneralRe: merge string on image Pin
Dave Kreskowiak11-Aug-07 6:50
mveDave Kreskowiak11-Aug-07 6:50 
GeneralRe: merge string on image Pin
Csharp™11-Aug-07 23:00
Csharp™11-Aug-07 23:00 
GeneralRe: merge string on image Pin
Dave Kreskowiak12-Aug-07 7:44
mveDave Kreskowiak12-Aug-07 7:44 
GeneralRe: merge string on image Pin
Csharp™12-Aug-07 9:01
Csharp™12-Aug-07 9:01 
GeneralRe: merge string on image Pin
Dave Kreskowiak12-Aug-07 15:41
mveDave Kreskowiak12-Aug-07 15:41 
GeneralRe: merge string on image Pin
eyes200712-Aug-07 20:02
eyes200712-Aug-07 20:02 
GeneralRe: merge string on image Pin
eyes200712-Aug-07 19:58
eyes200712-Aug-07 19:58 
QuestionHow to take servername Dynamically? Pin
Sipder10-Aug-07 21:10
Sipder10-Aug-07 21:10 
AnswerRe: How to take servername Dynamically? Pin
i gr810-Aug-07 21:33
i gr810-Aug-07 21:33 
GeneralRe: Pin
SamRST11-Aug-07 0:42
SamRST11-Aug-07 0:42 
GeneralRe: Pin
i gr811-Aug-07 23:02
i gr811-Aug-07 23:02 

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.