Click here to Skip to main content
15,925,309 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
GeneralRe: Global forcing of numeric only textboxes Pin
Dave Kreskowiak17-Jun-05 10:06
mveDave Kreskowiak17-Jun-05 10:06 
In VB6, you'll have to have 24 different subs. In VB.NET, you can have one sub that handles the same event for all 24 TextBoxes.

But, in either case, since you're using so many of these numeric-only TextBoxes, you're better option would be to make your own TextBox control, inheriting from the standard TextBox and putting this code in that control. Then you can place 24 of the new textboxes on your form without having to worry about this problem.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

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 
GeneralRe: last record Pin
Manik Nath17-Jun-05 22:59
Manik Nath17-Jun-05 22:59 

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.