Click here to Skip to main content
15,888,610 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Retain values in drop down lists between redirects Pin
Marcus J. Smith19-Feb-07 6:55
professionalMarcus J. Smith19-Feb-07 6:55 
QuestionVb.net text box that accepts Caps A-Z Pin
kendo1719-Feb-07 5:09
kendo1719-Feb-07 5:09 
AnswerRe: Vb.net text box that accepts Caps A-Z Pin
Thomas Stockwell19-Feb-07 6:50
professionalThomas Stockwell19-Feb-07 6:50 
AnswerRe: Vb.net text box that accepts Caps A-Z Pin
Marcus J. Smith19-Feb-07 6:53
professionalMarcus J. Smith19-Feb-07 6:53 
AnswerRe: Vb.net text box that accepts Caps A-Z Pin
TwoFaced19-Feb-07 8:49
TwoFaced19-Feb-07 8:49 
GeneralRe: Vb.net text box that accepts Caps A-Z Pin
kendo1719-Feb-07 11:00
kendo1719-Feb-07 11:00 
GeneralRe: Vb.net text box that accepts Caps A-Z Pin
TwoFaced19-Feb-07 11:12
TwoFaced19-Feb-07 11:12 
GeneralRe: Vb.net text box that accepts Caps A-Z Pin
kendo1719-Feb-07 23:10
kendo1719-Feb-07 23:10 
Hi using vb.net 2003 and the code is as follows got it working but with the properties but this code will be handy in future.Just curious to why it is not working.This is the only way it does not display read only on the last line so i use it but comment the last line out.

Private Sub txtRow_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtRow.KeyPress<br />
        'If key press isn't control key (backspace...and others?) or a letter then ignore it        <br />
        If Not (Char.IsControl(e.KeyChar) OrElse Char.IsLetter(e.KeyChar)) Then e.Handled = True<br />
        'Force capitalized letter        <br />
        'If Char.IsLetter(e.KeyChar) Then e.KeyChar = Char.ToUpper(e.KeyChar)<br />
    End Sub

GeneralRe: Vb.net text box that accepts Caps A-Z Pin
TwoFaced20-Feb-07 7:23
TwoFaced20-Feb-07 7:23 
GeneralRe: Vb.net text box that accepts Caps A-Z Pin
kendo1719-Feb-07 11:34
kendo1719-Feb-07 11:34 
GeneralRe: Vb.net text box that accepts Caps A-Z Pin
TwoFaced19-Feb-07 13:09
TwoFaced19-Feb-07 13:09 
Questiontwo queries in sqldataadapter Pin
amaneet19-Feb-07 3:59
amaneet19-Feb-07 3:59 
AnswerRe: two queries in sqldataadapter Pin
Colin Angus Mackay19-Feb-07 4:12
Colin Angus Mackay19-Feb-07 4:12 
Questionstrong type and dll help Pin
amaneet19-Feb-07 3:57
amaneet19-Feb-07 3:57 
AnswerRe: strong type and dll help Pin
Colin Angus Mackay19-Feb-07 4:09
Colin Angus Mackay19-Feb-07 4:09 
Questionbackward compatibility Pin
amaneet19-Feb-07 3:53
amaneet19-Feb-07 3:53 
AnswerRe: backward compatibility Pin
Colin Angus Mackay19-Feb-07 4:06
Colin Angus Mackay19-Feb-07 4:06 
QuestionQuery problem Pin
amaneet19-Feb-07 3:50
amaneet19-Feb-07 3:50 
AnswerRe: Query problem Pin
Colin Angus Mackay19-Feb-07 4:05
Colin Angus Mackay19-Feb-07 4:05 
AnswerRe: Query problem Pin
andyharman19-Feb-07 7:15
professionalandyharman19-Feb-07 7:15 
QuestionNamespaces problem Pin
amaneet19-Feb-07 3:45
amaneet19-Feb-07 3:45 
AnswerRe: Namespaces problem Pin
Colin Angus Mackay19-Feb-07 4:04
Colin Angus Mackay19-Feb-07 4:04 
QuestionString class problem Pin
amaneet19-Feb-07 3:44
amaneet19-Feb-07 3:44 
AnswerRe: String class problem Pin
Colin Angus Mackay19-Feb-07 4:03
Colin Angus Mackay19-Feb-07 4:03 
GeneralRe: String class problem Pin
Marcus J. Smith19-Feb-07 8:23
professionalMarcus J. Smith19-Feb-07 8:23 

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.