Click here to Skip to main content
15,898,035 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Array problems Pin
SHatchard2-Jul-07 2:18
SHatchard2-Jul-07 2:18 
QuestionFields go missing Pin
Brendan Vogt1-Jul-07 14:07
Brendan Vogt1-Jul-07 14:07 
AnswerRe: Fields go missing [modified] Pin
EvScott1-Jul-07 15:37
EvScott1-Jul-07 15:37 
GeneralRe: Fields go missing Pin
Brendan Vogt1-Jul-07 23:06
Brendan Vogt1-Jul-07 23:06 
GeneralRe: Fields go missing Pin
EvScott2-Jul-07 2:40
EvScott2-Jul-07 2:40 
Questioncombobox in DataGridView control Pin
manisghouri1-Jul-07 13:50
manisghouri1-Jul-07 13:50 
AnswerRe: combobox in DataGridView control Pin
sathesh pandian1-Jul-07 19:19
sathesh pandian1-Jul-07 19:19 
QuestionVirtual keyboard losing window focus. Help! Pin
remarkpk111-Jul-07 13:32
remarkpk111-Jul-07 13:32 
Hi Everyone,

I'm writing an application that implements an on-screen keyboard (because the Windows on-screen keyboard is extremely small and hard to use) and I'm having problems setting focus to the desired window in which the user wishes to type.

I'm using a few User32 API calls to get the active window handle number and then set the active window once I know what the handle is. This seems to be working OK. However, the window which has focus (the one receiving the typing) flickers as the user clicks on a key.

This is because as the user touches a key to type, it gives the keyboard focus and then immediately sends focus back to the window in which the user is typing, hence the flickering. So...

Question #1:

How can I eliminate the change of focus and always give focus to the desired window so that there is no flickering back and forth between my keyboard application and the window receiving the typing?

Question #2:

This is not just a standalone keyboard, but is a small part of a larger piece of software. Consequently, there are occasions when the user must use this on-screen keyboard to type into a window within it's parent application or into different forms within the app. One form contains a browser control to a company website. When they keyboard is used to type into any text field on a webpage displayed in the browser control, only every other word is sent to that text box. Two key strokes are required to output one letter. What could be a possible cause of this and how might I go about fixing it?

ANY suggestions or help is much appreciated. Code examples in VB.NET, VB 2005, and C# are fine. C++ OK too but only if it's immediately applicable and can be converted easily to VB.NET.

Thanks in advance to anyone who contributes!!!!

Patrick
QuestionMAPISession not fetching MS Outlook Emails Pin
EvScott1-Jul-07 8:35
EvScott1-Jul-07 8:35 
QuestionBreaking up strings Pin
Brendan Vogt1-Jul-07 6:43
Brendan Vogt1-Jul-07 6:43 
AnswerRe: Breaking up strings Pin
Guffa1-Jul-07 7:03
Guffa1-Jul-07 7:03 
GeneralRe: Breaking up strings Pin
TwoFaced1-Jul-07 10:47
TwoFaced1-Jul-07 10:47 
GeneralRe: Breaking up strings Pin
Guffa4-Jul-07 5:05
Guffa4-Jul-07 5:05 
AnswerRe: Breaking up strings Pin
Bassam Saoud1-Jul-07 7:25
Bassam Saoud1-Jul-07 7:25 
GeneralRe: Breaking up strings Pin
Guffa1-Jul-07 8:10
Guffa1-Jul-07 8:10 
GeneralRe: Breaking up strings Pin
Bassam Saoud1-Jul-07 8:59
Bassam Saoud1-Jul-07 8:59 
GeneralRe: Breaking up strings Pin
Guffa4-Jul-07 5:21
Guffa4-Jul-07 5:21 
AnswerRe: Breaking up strings Pin
Bassam Saoud1-Jul-07 7:31
Bassam Saoud1-Jul-07 7:31 
GeneralWriting a text file.... Pin
Psycho-*Coder*-Extreme1-Jul-07 4:01
Psycho-*Coder*-Extreme1-Jul-07 4:01 
GeneralRe: Writing a text file.... Pin
Bassam Saoud1-Jul-07 6:10
Bassam Saoud1-Jul-07 6:10 
QuestionSQL Commands vs VB.net commands Pin
alexrad1-Jul-07 3:25
alexrad1-Jul-07 3:25 
AnswerRe: SQL Commands vs VB.net commands Pin
Polymorpher1-Jul-07 9:01
Polymorpher1-Jul-07 9:01 
AnswerRe: SQL Commands vs VB.net commands Pin
Zia Ul Haq Soofi1-Jul-07 9:13
Zia Ul Haq Soofi1-Jul-07 9:13 
GeneralRe: SQL Commands vs VB.net commands Pin
alexrad1-Jul-07 9:25
alexrad1-Jul-07 9:25 
QuestionHow can i open other Form from......... Pin
ankur01011-Jul-07 2:11
ankur01011-Jul-07 2:11 

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.