Click here to Skip to main content
15,915,611 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralSolved Pin
Dambod16-Aug-09 3:58
Dambod16-Aug-09 3:58 
QuestionVB.net 2008, TCPClient Streams Pin
DaveAuld14-Aug-09 7:21
professionalDaveAuld14-Aug-09 7:21 
AnswerRe: VB.net 2008, TCPClient Streams Pin
Dave Kreskowiak14-Aug-09 8:07
mveDave Kreskowiak14-Aug-09 8:07 
GeneralRe: VB.net 2008, TCPClient Streams Pin
DaveAuld14-Aug-09 8:30
professionalDaveAuld14-Aug-09 8:30 
QuestionHow can I force a user to enter a string with characters only with no integer from a text box? Pin
waner michaud14-Aug-09 6:45
waner michaud14-Aug-09 6:45 
AnswerRe: How can I force a user to enter a string with characters only with no integer from a text box? Pin
Dave Kreskowiak14-Aug-09 7:42
mveDave Kreskowiak14-Aug-09 7:42 
AnswerRe: How can I force a user to enter a string with characters only with no integer from a text box? Pin
waner michaud14-Aug-09 11:41
waner michaud14-Aug-09 11:41 
GeneralRe: How can I force a user to enter a string with characters only with no integer from a text box? Pin
Luc Pattyn14-Aug-09 12:38
sitebuilderLuc Pattyn14-Aug-09 12:38 
Hi,

as you replied that to yourself, you got the notification, Dave didn't.
Anyway, it is regex, not relax. Big Grin | :-D

FYI: you can prevent some characters from being entered through the keyboard by overriding Control.IsInputChar; or overriding Control.KeyDown and setting SuppressKeyPress true.
However, when you allow for editing, including pasting, you always have to validate the Text itself,
for which a regex could be fine.

I'm not a regex specialist nor regex fan, however IMO
^[0-9]+$ would match a sequence of digits only (^ is start, $ is end, [x-y] is a range of acceptable characters, and + indicates "one or more".

This[^] is supposed to be a very informative site on regexes).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

Questionpassing values from a windows form to a crystal report Pin
myinstincts14-Aug-09 0:12
myinstincts14-Aug-09 0:12 
AnswerRe: passing values from a windows form to a crystal report Pin
Johan Hakkesteegt14-Aug-09 0:41
Johan Hakkesteegt14-Aug-09 0:41 
GeneralRe: passing values from a windows form to a crystal report Pin
myinstincts14-Aug-09 1:57
myinstincts14-Aug-09 1:57 
GeneralRe: passing values from a windows form to a crystal report Pin
Johan Hakkesteegt14-Aug-09 2:10
Johan Hakkesteegt14-Aug-09 2:10 
GeneralRe: passing values from a windows form to a crystal report Pin
myinstincts14-Aug-09 2:17
myinstincts14-Aug-09 2:17 
GeneralRe: passing values from a windows form to a crystal report Pin
Johan Hakkesteegt14-Aug-09 2:43
Johan Hakkesteegt14-Aug-09 2:43 
GeneralRe: passing values from a windows form to a crystal report Pin
myinstincts14-Aug-09 2:49
myinstincts14-Aug-09 2:49 
AnswerRe: passing values from a windows form to a crystal report Pin
Anubhava Dimri17-Aug-09 0:07
Anubhava Dimri17-Aug-09 0:07 
QuestionBring to Front and Send to back Pin
Anubhava Dimri13-Aug-09 23:55
Anubhava Dimri13-Aug-09 23:55 
AnswerRe: Bring to Front and Send to back Pin
0x3c014-Aug-09 0:17
0x3c014-Aug-09 0:17 
GeneralRe: Bring to Front and Send to back Pin
Coding C#14-Aug-09 2:50
Coding C#14-Aug-09 2:50 
GeneralRe: Bring to Front and Send to back Pin
Anubhava Dimri16-Aug-09 23:48
Anubhava Dimri16-Aug-09 23:48 
QuestionMyObject = New Object memory use Pin
Johan Hakkesteegt13-Aug-09 22:22
Johan Hakkesteegt13-Aug-09 22:22 
AnswerRe: MyObject = New Object memory use Pin
Luc Pattyn14-Aug-09 0:57
sitebuilderLuc Pattyn14-Aug-09 0:57 
GeneralRe: MyObject = New Object memory use Pin
Johan Hakkesteegt14-Aug-09 1:43
Johan Hakkesteegt14-Aug-09 1:43 
GeneralRe: MyObject = New Object memory use Pin
Luc Pattyn14-Aug-09 1:50
sitebuilderLuc Pattyn14-Aug-09 1:50 
GeneralRe: MyObject = New Object memory use Pin
Johan Hakkesteegt14-Aug-09 2:13
Johan Hakkesteegt14-Aug-09 2:13 

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.