Click here to Skip to main content
15,913,939 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to Write a Vertical Text In Graphic Mode in VB.NET Pin
alialikh28-Apr-06 20:54
alialikh28-Apr-06 20:54 
AnswerRe: How to Write a Vertical Text In Graphic Mode in VB.NET Pin
Ed.Poore28-Apr-06 23:38
Ed.Poore28-Apr-06 23:38 
GeneralRe: How to Write a Vertical Text In Graphic Mode in VB.NET Pin
alialikh29-Apr-06 1:58
alialikh29-Apr-06 1:58 
QuestionResizing Images in VB.Net Pin
JoeySmith28-Apr-06 14:36
JoeySmith28-Apr-06 14:36 
AnswerRe: Resizing Images in VB.Net Pin
Yuvi Panda28-Apr-06 20:15
Yuvi Panda28-Apr-06 20:15 
AnswerRe: Resizing Images in VB.Net Pin
Bhanwar Gupta28-Apr-06 20:40
Bhanwar Gupta28-Apr-06 20:40 
GeneralRe: Resizing Images in VB.Net Pin
JoeySmith29-Apr-06 0:50
JoeySmith29-Apr-06 0:50 
QuestionVirtual KeyCode to ASCII Pin
daveime28-Apr-06 12:33
daveime28-Apr-06 12:33 
I've been trying to translate the WM_KEYUP messages returned from the callback of a SetWindowsHookEx keyboard hook.

Whilst most examples I can find on the net are in C++, I'm having a hard time finding / converting this into VB.

I have the API declarations for the ToAscii, GetKeyboardState etc., just need a ready to go piece of code to paste into my application.

Thanks in advance

Code snippet attached of the callback ...

Private Function KeyboardCallback(ByVal Code As Integer, ByVal wParam As Integer, ByRef lParam As KBDLLHOOKSTRUCT) As Integer

If Code >= 0 Then
If wParam = WM_KEYUP Then
'I need to translate the lParam.vkCode and lParam.scanCode into ascii or something useable for a few keys like carriage return, backspace etc.
'32 to 127 = regular characters
'13 / 10 = carriage return in log file
'9 = [TAB]
'8 = [BACKSPACE]
'127 = [DELETE]
'other ascii codes not interested, likewise anything above 128, I don't care about

'how do I use ToAscii and GetKeyboardState ?
End If
End If

Return CallNextHookEx(KeyboardHandle, Code, wParam, lParam)

End Function

QuestionHow to connect VB6 to MSExel Pin
Jijo thomas28-Apr-06 9:12
Jijo thomas28-Apr-06 9:12 
AnswerRe: How to connect VB6 to MSExel Pin
Garner T29-Apr-06 17:36
Garner T29-Apr-06 17:36 
Questiondatarow array Pin
G7236028-Apr-06 9:08
G7236028-Apr-06 9:08 
GeneralRe: datarow array Pin
Guffa28-Apr-06 10:22
Guffa28-Apr-06 10:22 
GeneralRe: datarow array Pin
G7236028-Apr-06 10:31
G7236028-Apr-06 10:31 
QuestionDeveloping Torrent Client Pin
DH Julio28-Apr-06 6:31
DH Julio28-Apr-06 6:31 
AnswerRe: Developing Torrent Client Pin
progload28-Apr-06 9:49
progload28-Apr-06 9:49 
GeneralRe: Developing Torrent Client Pin
DH Julio29-Apr-06 8:41
DH Julio29-Apr-06 8:41 
GeneralRe: Developing Torrent Client Pin
progload29-Apr-06 13:00
progload29-Apr-06 13:00 
Questionthis is abt Nbaiss Pin
Mohammed Amine28-Apr-06 5:05
Mohammed Amine28-Apr-06 5:05 
Questionplease can you separate them ??Date & time Pin
Mohammed Amine28-Apr-06 5:01
Mohammed Amine28-Apr-06 5:01 
AnswerRe: please can you separate them ??Date & time Pin
mr_1234528-Apr-06 5:06
mr_1234528-Apr-06 5:06 
GeneralRe: please can you separate them ??Date & time Pin
Mohammed Amine28-Apr-06 5:07
Mohammed Amine28-Apr-06 5:07 
QuestionTRANSFER VIDEO.AVI Pin
izzah_mustapha28-Apr-06 4:36
izzah_mustapha28-Apr-06 4:36 
QuestionLogon to system Pin
nitin_ion28-Apr-06 2:27
nitin_ion28-Apr-06 2:27 
GeneralRe: Logon to system Pin
Tim Carmichael28-Apr-06 7:42
Tim Carmichael28-Apr-06 7:42 
GeneralRe: Logon to system Pin
nitin_ion28-Apr-06 18:05
nitin_ion28-Apr-06 18:05 

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.