Click here to Skip to main content
15,884,425 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Retrieving value from an XML file Pin
David Mujica19-May-17 7:02
David Mujica19-May-17 7:02 
GeneralRe: Retrieving value from an XML file Pin
Ben Senior19-May-17 7:26
Ben Senior19-May-17 7:26 
GeneralRe: Retrieving value from an XML file Pin
David Mujica19-May-17 8:28
David Mujica19-May-17 8:28 
AnswerRe: Retrieving value from an XML file Pin
Ben Senior20-May-17 4:28
Ben Senior20-May-17 4:28 
AnswerRe: Retrieving value from an XML file Pin
Meshack Musundi23-May-17 5:58
professionalMeshack Musundi23-May-17 5:58 
GeneralRe: Retrieving value from an XML file Pin
Ben Senior23-May-17 7:33
Ben Senior23-May-17 7:33 
QuestionCatching Control, Shift Key and Alt Key Presses and Releases Pin
Jalapeno Bob16-May-17 11:19
professionalJalapeno Bob16-May-17 11:19 
AnswerRe: Catching Control, Shift Key and Alt Key Presses and Releases Pin
Alex k (oShortyo)16-May-17 23:16
Alex k (oShortyo)16-May-17 23:16 
VB
Private Shiftdown As Boolean = False
    Private altdown As Boolean = False
    Private cntrldown As Boolean = False
    Private Sub ucDisplay_KeyUp(sender As Object, e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyUp
        Select Case e.KeyCode
            Case Keys.ShiftKey
                Shiftdown = False
            Case Keys.Menu
                altdown = False
            Case Keys.ControlKey
                cntrldown = False
        End Select
    End Sub
    Private Sub ucDisplay_Keydown(sender As Object, e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
        Select Case e.KeyCode
            Case Keys.ShiftKey
                Shiftdown = True
            Case Keys.Menu
                altdown = True
            Case Keys.ControlKey
                cntrldown = True
        End Select

        If Shiftdown AndAlso altdown AndAlso cntrldown Then
            'do anything()
        End If

    End Sub


modified 17-May-17 5:24am.

AnswerRe: Catching Control, Shift Key and Alt Key Presses and Releases Pin
Richard Deeming17-May-17 1:19
mveRichard Deeming17-May-17 1:19 
GeneralRe: Catching Control, Shift Key and Alt Key Presses and Releases Pin
Jalapeno Bob17-May-17 7:03
professionalJalapeno Bob17-May-17 7:03 
QuestionGET PC POSITION IN VISUAL BASIC Pin
Otekpo Emmanuel9-May-17 13:28
Otekpo Emmanuel9-May-17 13:28 
AnswerRe: GET PC POSITION IN VISUAL BASIC Pin
Chris Quinn9-May-17 21:28
Chris Quinn9-May-17 21:28 
GeneralRe: GET PC POSITION IN VISUAL BASIC Pin
Otekpo Emmanuel10-May-17 6:12
Otekpo Emmanuel10-May-17 6:12 
GeneralRe: GET PC POSITION IN VISUAL BASIC Pin
Chris Quinn10-May-17 21:47
Chris Quinn10-May-17 21:47 
GeneralSolved: GET PC POSITION IN VISUAL BASIC Pin
Otekpo Emmanuel12-May-17 8:50
Otekpo Emmanuel12-May-17 8:50 
GeneralRe: GET PC POSITION IN VISUAL BASIC Pin
Richard MacCutchan12-May-17 13:18
mveRichard MacCutchan12-May-17 13:18 
GeneralRe: GET PC POSITION IN VISUAL BASIC Pin
Otekpo Emmanuel13-May-17 8:20
Otekpo Emmanuel13-May-17 8:20 
GeneralRe: GET PC POSITION IN VISUAL BASIC Pin
Dave Kreskowiak13-May-17 8:39
mveDave Kreskowiak13-May-17 8:39 
GeneralRe: GET PC POSITION IN VISUAL BASIC Pin
Otekpo Emmanuel3-Jul-17 19:20
Otekpo Emmanuel3-Jul-17 19:20 
GeneralRe: GET PC POSITION IN VISUAL BASIC Pin
Richard MacCutchan13-May-17 20:53
mveRichard MacCutchan13-May-17 20:53 
AnswerRe: GET PC POSITION IN VISUAL BASIC Pin
Afzaal Ahmad Zeeshan10-May-17 5:19
professionalAfzaal Ahmad Zeeshan10-May-17 5:19 
GeneralRe: GET PC POSITION IN VISUAL BASIC Pin
Otekpo Emmanuel3-Jul-17 19:23
Otekpo Emmanuel3-Jul-17 19:23 
QuestionHow to return a array of structure in the function? Pin
Member 130177309-May-17 3:55
Member 130177309-May-17 3:55 
AnswerRe: How to return a array of structure in the function? Pin
David Mujica9-May-17 4:42
David Mujica9-May-17 4:42 
GeneralRe: How to return a array of structure in the function? Pin
Member 130177309-May-17 4:54
Member 130177309-May-17 4:54 

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.