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

Visual Basic

 
QuestionCalling a windows application Pin
code123581312-Mar-07 10:47
code123581312-Mar-07 10:47 
AnswerRe: Calling a windows application Pin
M-Hall12-Mar-07 11:15
M-Hall12-Mar-07 11:15 
QuestionMy.Computer.Network.DownloadFile Pin
tgebrael12-Mar-07 10:46
tgebrael12-Mar-07 10:46 
AnswerRe: My.Computer.Network.DownloadFile Pin
Dave Kreskowiak12-Mar-07 12:37
mveDave Kreskowiak12-Mar-07 12:37 
AnswerRe: My.Computer.Network.DownloadFile Pin
tgebrael12-Mar-07 18:07
tgebrael12-Mar-07 18:07 
QuestionMr. Mogtabam please check.. Pin
manni_n12-Mar-07 9:47
manni_n12-Mar-07 9:47 
AnswerRe: Mr. Mogtabam please check.. Pin
kubben12-Mar-07 9:55
kubben12-Mar-07 9:55 
GeneralRe: Mr. Mogtabam please check.. Pin
manni_n12-Mar-07 10:59
manni_n12-Mar-07 10:59 
u want tosay like this....

Private Sub Textbox1_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles TextBox1.TextChanged, TextBox2.TextChanged

what about the other places where textbox1.text is written like textbox1.keypress and if val(textbox1.text) and all such place where only textbox1.validated....
its highly confusing...

Private Sub Textbox1_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles TextBox1.TextChanged, TextBox2.TextChanged
If Val(TextBox1.Text) > 45 Then TextBox1.Text = CStr(0) : MsgBox("Please Enter A Number Between 0 to 45", MsgBoxStyle.Critical)

End Sub
Private Sub Text1box_KeyPress(ByVal eventSender As System.Object, ByVal eventArgs As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
Dim KeyAscii As Short = Asc(eventArgs.KeyChar)
Select Case KeyAscii
Case 48 To 57 '0 To 9
Case 8 'Back Space
Case 13 'Enter
Case Else 'Other Keys
KeyAscii = 0
End Select
If KeyAscii = 0 Then
eventArgs.Handled = True
End If
End Sub
GeneralRe: Mr. Mogtabam please check.. Pin
kubben12-Mar-07 13:55
kubben12-Mar-07 13:55 
Generalits working Pin
manni_n14-Mar-07 8:27
manni_n14-Mar-07 8:27 
GeneralRe: Mr. Mogtabam please check.. [modified] Pin
TwoFaced12-Mar-07 22:00
TwoFaced12-Mar-07 22:00 
GeneralRe: Mr. Mogtabam please check.. Pin
TwoFaced12-Mar-07 22:19
TwoFaced12-Mar-07 22:19 
AnswerRe: Mr. Mogtabam please check.. Pin
nlarson1112-Mar-07 10:53
nlarson1112-Mar-07 10:53 
AnswerRe: Mr. Mogtabam please check.. Pin
Mogtabam13-Mar-07 1:13
Mogtabam13-Mar-07 1:13 
QuestionCrystal Reports Dynamic Parameter Support within vb.net Pin
manisghouri12-Mar-07 8:45
manisghouri12-Mar-07 8:45 
QuestionPicturebox Control Question Pin
JohanSturk12-Mar-07 7:08
JohanSturk12-Mar-07 7:08 
AnswerRe: Picturebox Control Question Pin
M-Hall12-Mar-07 7:42
M-Hall12-Mar-07 7:42 
AnswerRe: Picturebox Control Question Pin
JUNEYT12-Mar-07 7:44
JUNEYT12-Mar-07 7:44 
GeneralRe: Picturebox Control Question Pin
JohanSturk12-Mar-07 8:31
JohanSturk12-Mar-07 8:31 
GeneralRe: Picturebox Control Question Pin
M-Hall12-Mar-07 8:50
M-Hall12-Mar-07 8:50 
GeneralRe: Picturebox Control Question [modified] Pin
JUNEYT12-Mar-07 10:08
JUNEYT12-Mar-07 10:08 
QuestionPLEASE!!!! REALLY STUCK ON THIS ONE Pin
peteyshrew12-Mar-07 4:51
peteyshrew12-Mar-07 4:51 
AnswerRe: PLEASE!!!! REALLY STUCK ON THIS ONE Pin
Christian Graus12-Mar-07 5:05
protectorChristian Graus12-Mar-07 5:05 
AnswerRe: PLEASE!!!! REALLY STUCK ON THIS ONE Pin
jhoga12-Mar-07 5:07
jhoga12-Mar-07 5:07 
QuestionUser Control Problem Pin
TCHamilton12-Mar-07 4:49
TCHamilton12-Mar-07 4:49 

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.