Click here to Skip to main content
15,890,512 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: I am very new to vb.NET. Pin
jonathan1520-Jun-05 2:57
jonathan1520-Jun-05 2:57 
QuestionArea optimization? Pin
Member 187046717-Jun-05 10:27
Member 187046717-Jun-05 10:27 
GeneralVB.NET - VS.NET 2005 Pin
Moonark17-Jun-05 10:11
Moonark17-Jun-05 10:11 
GeneralListbox Pin
JimClark6817-Jun-05 8:44
JimClark6817-Jun-05 8:44 
GeneralRe: Listbox Pin
Dave Kreskowiak17-Jun-05 10:11
mveDave Kreskowiak17-Jun-05 10:11 
GeneralRe: Listbox Pin
Anonymous17-Jun-05 14:41
Anonymous17-Jun-05 14:41 
GeneralTextbox does not update database Pin
dptalt17-Jun-05 8:10
dptalt17-Jun-05 8:10 
GeneralGlobal forcing of numeric only textboxes Pin
Trey549817-Jun-05 7:04
Trey549817-Jun-05 7:04 
This is the code that I got a couple of days from these forums. I have 24 textboxes that this needs to go to. Is there an easier way to get them all in one function/sub or do I have to have 24 different subs?

Private Sub txtBDrain_KeyPress(KeyAscii As Integer)
KeyAscii = LimitTextInput(KeyAscii)
End Sub

Function LimitTextInput(KeyAscii) As Integer
If ((KeyAscii < Asc("0")) Or KeyAscii > Asc("9")) _
And (KeyAscii <> 8) And (KeyAscii <> 13) And (KeyAscii <> 46) Then
LimitTextInput = 0
Else
LimitTextInput = KeyAscii
End If
End Function
GeneralRe: Global forcing of numeric only textboxes Pin
Dave Kreskowiak17-Jun-05 10:06
mveDave Kreskowiak17-Jun-05 10:06 
GeneralError Pin
ADY00717-Jun-05 6:51
ADY00717-Jun-05 6:51 
GeneralRe: Error Pin
Len Miller17-Jun-05 21:36
Len Miller17-Jun-05 21:36 
GeneralError Pin
ADY00717-Jun-05 23:39
ADY00717-Jun-05 23:39 
GeneralSelectCommand Pin
alef3417-Jun-05 4:10
alef3417-Jun-05 4:10 
GeneralRe: SelectCommand Pin
Dave Kreskowiak17-Jun-05 4:42
mveDave Kreskowiak17-Jun-05 4:42 
GeneralRe: SelectCommand Pin
Len Miller17-Jun-05 20:49
Len Miller17-Jun-05 20:49 
GeneralRe: SelectCommand Pin
alef3419-Jun-05 20:34
alef3419-Jun-05 20:34 
GeneralLooking For CTL or COM Control for XML Editing Pin
Davy Mitchell17-Jun-05 2:35
Davy Mitchell17-Jun-05 2:35 
Generalsending mails from vb.net using Microsoft Outlook Pin
manojmmj17-Jun-05 2:31
manojmmj17-Jun-05 2:31 
GeneralRe: sending mails from vb.net using Microsoft Outlook Pin
Anonymous17-Jun-05 16:05
Anonymous17-Jun-05 16:05 
GeneralRe: sending mails from vb.net using Microsoft Outlook Pin
jonathan1520-Jun-05 3:46
jonathan1520-Jun-05 3:46 
GeneralMulti-tasking Pin
manopt17-Jun-05 2:22
manopt17-Jun-05 2:22 
GeneralRe: Multi-tasking Pin
Dave Kreskowiak17-Jun-05 4:37
mveDave Kreskowiak17-Jun-05 4:37 
Generallast record Pin
Manik Nath16-Jun-05 22:41
Manik Nath16-Jun-05 22:41 
GeneralRe: last record Pin
Dave Kreskowiak17-Jun-05 6:28
mveDave Kreskowiak17-Jun-05 6:28 
GeneralRe: last record Pin
Manik Nath17-Jun-05 21:11
Manik Nath17-Jun-05 21:11 

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.