Click here to Skip to main content
15,897,891 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Change the image on a button Pin
Michael Sync20-Aug-07 17:44
Michael Sync20-Aug-07 17:44 
GeneralRe: Change the image on a button [modified] Pin
rnamro21-Aug-07 6:13
rnamro21-Aug-07 6:13 
GeneralRe: Change the image on a button Pin
Michael Sync21-Aug-07 15:13
Michael Sync21-Aug-07 15:13 
AnswerRe: Change the image on a button Pin
TomGarth21-Aug-07 13:07
TomGarth21-Aug-07 13:07 
QuestionHow to loop thru a datagrid to get difference for each record Pin
Smokeywade20-Aug-07 10:40
Smokeywade20-Aug-07 10:40 
QuestionVB excel autofilter Help Pin
VBHelpIsNeeded20-Aug-07 9:56
VBHelpIsNeeded20-Aug-07 9:56 
QuestionEASY SIMPLE, Never done keypress, help.... Pin
Joey Picerno20-Aug-07 9:15
Joey Picerno20-Aug-07 9:15 
AnswerRe: EASY SIMPLE, Never done keypress, help.... Pin
nlarson1120-Aug-07 16:55
nlarson1120-Aug-07 16:55 
To teach your self start out with what is available to you. The keypress event has 2 arguments. The sender and the e. Well you know who the sender is...the text box. well what's e? inside the routine, press e and then the period. you get options of what's available to you. you'll see a property called 'keychar'. that is the character representation of what you pressed. well what are you looking for? the return key. so test for it.

Private Sub txt_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txt.KeyPress
if e.keychar = controlchars.cr then
'run any code you want...
end if
End Sub
GeneralRe: EASY SIMPLE, Never done keypress, help.... Pin
Joey Picerno21-Aug-07 3:02
Joey Picerno21-Aug-07 3:02 
QuestionEncryption Pin
Dominick Marciano20-Aug-07 7:15
professionalDominick Marciano20-Aug-07 7:15 
AnswerRe: Encryption Pin
Mark Churchill20-Aug-07 21:39
Mark Churchill20-Aug-07 21:39 
QuestionHow to avoid html tag in body of mail while saving to db. [modified] Pin
rahul.net1120-Aug-07 5:12
rahul.net1120-Aug-07 5:12 
AnswerRe: How to avoid html tag in body of mail while saving to db. Pin
nlarson1120-Aug-07 17:00
nlarson1120-Aug-07 17:00 
Questionhelp Pin
padbindu20-Aug-07 4:06
padbindu20-Aug-07 4:06 
AnswerRe: help Pin
Christian Graus20-Aug-07 12:17
protectorChristian Graus20-Aug-07 12:17 
QuestionHelp with aScheduling grid/Table Pin
Mr Oizo20-Aug-07 2:07
Mr Oizo20-Aug-07 2:07 
AnswerRe: Help with aScheduling grid/Table Pin
Johan Hakkesteegt31-Aug-07 3:01
Johan Hakkesteegt31-Aug-07 3:01 
QuestionHow to write to new line using streamwriter. Pin
rahul.net1120-Aug-07 1:49
rahul.net1120-Aug-07 1:49 
AnswerRe: How to write to new line using streamwriter. Pin
Rami Said Abd Alhalim20-Aug-07 2:21
Rami Said Abd Alhalim20-Aug-07 2:21 
GeneralRe: How to write to new line using streamwriter. Pin
Rami Said Abd Alhalim20-Aug-07 2:25
Rami Said Abd Alhalim20-Aug-07 2:25 
GeneralRe: How to write to new line using streamwriter. Pin
rahul.net1120-Aug-07 4:32
rahul.net1120-Aug-07 4:32 
AnswerRe: How to write to new line using streamwriter. Pin
Rupesh Kumar Swami20-Aug-07 2:28
Rupesh Kumar Swami20-Aug-07 2:28 
GeneralRe: How to write to new line using streamwriter. Pin
rahul.net1120-Aug-07 4:31
rahul.net1120-Aug-07 4:31 
AnswerRe: How to write to new line using streamwriter. Pin
Luc Pattyn20-Aug-07 2:33
sitebuilderLuc Pattyn20-Aug-07 2:33 
GeneralRe: How to write to new line using streamwriter. Pin
rahul.net1120-Aug-07 4:30
rahul.net1120-Aug-07 4:30 

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.