Click here to Skip to main content
16,011,754 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Form Autosize Pin
Dave Kreskowiak2-Jan-07 5:22
mveDave Kreskowiak2-Jan-07 5:22 
GeneralRe: Form Autosize Pin
MatrixCoder2-Jan-07 9:59
MatrixCoder2-Jan-07 9:59 
AnswerRe: Form Autosize Pin
Dave Kreskowiak2-Jan-07 5:21
mveDave Kreskowiak2-Jan-07 5:21 
QuestionHow to load photoshop tool using vb.net Pin
kamalraaja1-Jan-07 20:30
kamalraaja1-Jan-07 20:30 
QuestionAutomating powerpoint Pin
Badhris1-Jan-07 18:48
Badhris1-Jan-07 18:48 
QuestionPlease Help ListBox Contains Very Urgent Pin
somagunasekaran1-Jan-07 16:45
somagunasekaran1-Jan-07 16:45 
AnswerRe: Please Help ListBox Contains Very Urgent Pin
Dave Kreskowiak2-Jan-07 5:15
mveDave Kreskowiak2-Jan-07 5:15 
QuestionRegisterHotKey Pin
acidice3331-Jan-07 14:55
acidice3331-Jan-07 14:55 
I'm using RegisterHotKey, but how do I register multiple keys and make them do different operations?


    Public Declare Function RegisterHotKey Lib "user32" (ByVal hWnd As IntPtr, ByVal id As Integer, _<br />
                                                          ByVal fsModifiers As Integer, ByVal vk As Integer) _<br />
                                                          As Integer<br />
    Public Declare Function UnregisterHotKey Lib "user32" (ByVal hWnd As IntPtr, ByVal id As Integer) As Integer<br />
<br />
    Public Const WM_HOTKEY As Integer = &H312<br />
<br />
    Public Enum Modifiers<br />
        MOD_ALT = &H1<br />
        MOD_CONTROL = &H2<br />
        MOD_SHIFT = &H4<br />
        MOD_WIN = &H8<br />
    End Enum<br />


    Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)<br />
<br />
        If m.Msg = WM_HOTKEY Then<br />
            MsgBox("Hot key pressed")<br />
        End If<br />
<br />
        MyBase.WndProc(m)<br />
    End Sub


Then I register the key with something like RegisterHotKey(Me.Handle, 101, Modifiers.MOD_CONTROL, Keys.L)
AnswerRe: RegisterHotKey Pin
Dave Kreskowiak2-Jan-07 4:56
mveDave Kreskowiak2-Jan-07 4:56 
Questiononline translater for my program: how do I ? Pin
JustmeNick1-Jan-07 7:55
JustmeNick1-Jan-07 7:55 
AnswerRe: online translater for my program: how do I ? Pin
MatrixCoder1-Jan-07 22:22
MatrixCoder1-Jan-07 22:22 
QuestionCard Game ? Pin
Bso_Cool1-Jan-07 6:19
Bso_Cool1-Jan-07 6:19 
AnswerRe: Card Game ? Pin
Christian Graus2-Jan-07 0:10
protectorChristian Graus2-Jan-07 0:10 
AnswerRe: Card Game ? Pin
Martin.Smith2-Jan-07 0:12
Martin.Smith2-Jan-07 0:12 
QuestionSearch in Combo Pin
msleem1-Jan-07 5:20
msleem1-Jan-07 5:20 
AnswerRe: Search in Combo Pin
The ANZAC1-Jan-07 23:20
The ANZAC1-Jan-07 23:20 
Questionalter excel-table via sql Pin
Smithers-Jones1-Jan-07 4:38
Smithers-Jones1-Jan-07 4:38 
Questionweb service Pin
arindam_1st31-Dec-06 22:51
arindam_1st31-Dec-06 22:51 
QuestionHelp Needed!! Problem with creating a installation Pin
ArchaBhandare31-Dec-06 20:06
ArchaBhandare31-Dec-06 20:06 
AnswerRe: Help Needed!! Problem with creating a installation Pin
MatrixCoder1-Jan-07 22:18
MatrixCoder1-Jan-07 22:18 
Questionfile input/output Pin
carl_sti31-Dec-06 17:14
carl_sti31-Dec-06 17:14 
AnswerRe: file input/output Pin
Dave Kreskowiak31-Dec-06 17:57
mveDave Kreskowiak31-Dec-06 17:57 
AnswerRe: file input/output Pin
Pravat Maskey31-Dec-06 19:16
Pravat Maskey31-Dec-06 19:16 
Questionhow do i list all computer name on my network Pin
JustmeNick31-Dec-06 17:03
JustmeNick31-Dec-06 17:03 
AnswerRe: how do i list all computer name on my network Pin
Dave Kreskowiak31-Dec-06 17:55
mveDave Kreskowiak31-Dec-06 17:55 

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.