Click here to Skip to main content
15,906,816 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionMdi form and ToolStripContainer Pin
Samir Ibrahim13-May-09 4:27
Samir Ibrahim13-May-09 4:27 
AnswerRe: Mdi form and ToolStripContainer Pin
Dave Kreskowiak13-May-09 5:29
mveDave Kreskowiak13-May-09 5:29 
GeneralRe: Mdi form and ToolStripContainer Pin
Samir Ibrahim13-May-09 19:49
Samir Ibrahim13-May-09 19:49 
GeneralRe: Mdi form and ToolStripContainer Pin
Dave Kreskowiak14-May-09 2:02
mveDave Kreskowiak14-May-09 2:02 
GeneralRe: Mdi form and ToolStripContainer Pin
Samir Ibrahim14-May-09 2:28
Samir Ibrahim14-May-09 2:28 
Questionmultiple keypresses Pin
TheMrProgrammer13-May-09 4:06
TheMrProgrammer13-May-09 4:06 
AnswerRe: multiple keypresses Pin
Henry Minute13-May-09 4:58
Henry Minute13-May-09 4:58 
AnswerRe: multiple keypresses Pin
nlarson1113-May-09 8:02
nlarson1113-May-09 8:02 
write your own code using the key_down/key_up events - the below code writes out to the debug window each key has been pressed(down). once you lift up on a key it shows it has been released(up).

Private _KeyDown As New List(Of Int16)

  Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
      If Not _KeyDown.Contains(e.KeyCode) Then
          _KeyDown.Add(e.KeyCode)
          Debug.Print("d:" & Chr(e.KeyValue))
      End If
  End Sub

  Private Sub TextBox1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyUp
      If _KeyDown.Contains(e.KeyCode) Then
          _KeyDown.Remove(e.KeyCode)
          Debug.Print("u:" & Chr(e.KeyValue))
      End If
  End Sub


'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous

'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous


QuestionRe: multiple keypresses Pin
JR21213-May-09 19:40
JR21213-May-09 19:40 
AnswerRe: multiple keypresses Pin
Dalek Dave13-May-09 21:38
professionalDalek Dave13-May-09 21:38 
GeneralRe: multiple keypresses Pin
Johan Hakkesteegt13-May-09 22:14
Johan Hakkesteegt13-May-09 22:14 
AnswerRe: multiple keypresses Pin
Dave Kreskowiak14-May-09 1:59
mveDave Kreskowiak14-May-09 1:59 
GeneralRe: multiple keypresses Pin
JR21214-May-09 3:03
JR21214-May-09 3:03 
QuestionGet file path Pin
rmedo13-May-09 2:32
rmedo13-May-09 2:32 
AnswerRe: Get file path Pin
Henry Minute13-May-09 2:36
Henry Minute13-May-09 2:36 
GeneralRe: Get file path Pin
rmedo13-May-09 2:44
rmedo13-May-09 2:44 
GeneralRe: Get file path Pin
Henry Minute13-May-09 2:54
Henry Minute13-May-09 2:54 
GeneralRe: Get file path Pin
rmedo13-May-09 20:13
rmedo13-May-09 20:13 
GeneralRe: Get file path Pin
Henry Minute13-May-09 23:13
Henry Minute13-May-09 23:13 
GeneralRe: Get file path Pin
rmedo14-May-09 0:13
rmedo14-May-09 0:13 
GeneralRe: Get file path Pin
Henry Minute14-May-09 0:20
Henry Minute14-May-09 0:20 
GeneralRe: Get file path Pin
rmedo14-May-09 0:23
rmedo14-May-09 0:23 
QuestionRE:Want to read a txt file from the second line only. Pin
Lee Mwangi13-May-09 2:14
Lee Mwangi13-May-09 2:14 
AnswerRe: RE:Want to read a txt file from the second line only. Pin
riced13-May-09 2:31
riced13-May-09 2:31 
AnswerRe: RE:Want to read a txt file from the second line only. Pin
Anoop Brijmohun13-May-09 2:31
Anoop Brijmohun13-May-09 2:31 

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.