Click here to Skip to main content
14,603,335 members

Visual Basic

 
GeneralRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Dave Kreskowiak24-Jun-20 7:02
mveDave Kreskowiak24-Jun-20 7:02 
GeneralRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Ralf Meier24-Jun-20 19:55
professionalRalf Meier24-Jun-20 19:55 
GeneralRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Gerry Schmitz25-Jun-20 3:44
mveGerry Schmitz25-Jun-20 3:44 
QuestionUpdater for multi-user program Pin
Member 1487021322-Jun-20 6:32
MemberMember 1487021322-Jun-20 6:32 
QuestionRe: Updater for multi-user program Pin
Maciej Los22-Jun-20 6:42
mveMaciej Los22-Jun-20 6:42 
AnswerRe: Updater for multi-user program Pin
Member 1487021322-Jun-20 6:52
MemberMember 1487021322-Jun-20 6:52 
GeneralRe: Updater for multi-user program Pin
Maciej Los22-Jun-20 7:04
mveMaciej Los22-Jun-20 7:04 
AnswerRe: Updater for multi-user program Pin
David Mujica24-Jun-20 7:42
MemberDavid Mujica24-Jun-20 7:42 
GeneralExcel vba userform video game project Pin
Member 1483176618-Jun-20 4:20
MemberMember 1483176618-Jun-20 4:20 
GeneralRe: Excel vba userform video game project Pin
Dave Kreskowiak18-Jun-20 10:19
mveDave Kreskowiak18-Jun-20 10:19 
In other VB Windows Forms implementations, the KeyDown/KeyUp events on your Form will only work if the Form has the focus. If the Excel sheet has the focus, they will not work.

Also, in order to get those events to work when any control on the Form has the focus, the KeyPreview property on the Form must also be set to true, though, it appears that this doesn't even exist in Excel VBA.

Basically, without a working KeyPreview property, you cannot do what you appear to want to do.

GeneralRe: Excel vba userform video game project Pin
Member 1483176618-Jun-20 20:31
MemberMember 1483176618-Jun-20 20:31 
GeneralRe: Excel vba userform video game project Pin
Dave Kreskowiak19-Jun-20 3:17
mveDave Kreskowiak19-Jun-20 3:17 
QuestionGenerate XML file in VB6 Pin
Member 148580729-Jun-20 5:02
MemberMember 148580729-Jun-20 5:02 
AnswerRe: Generate XML file in VB6 Pin
Richard MacCutchan9-Jun-20 5:28
mveRichard MacCutchan9-Jun-20 5:28 
QuestionMove an user control by drag & drop Pin
Fabrizio Pulvirenti7-Jun-20 8:54
MemberFabrizio Pulvirenti7-Jun-20 8:54 
AnswerRe: Move an user control by drag & drop Pin
Richard MacCutchan7-Jun-20 21:56
mveRichard MacCutchan7-Jun-20 21:56 
AnswerRe: Move an user control by drag & drop Pin
Eddy Vluggen8-Jun-20 1:21
professionalEddy Vluggen8-Jun-20 1:21 
GeneralRe: Move an user control by drag & drop Pin
Fabrizio Pulvirenti8-Jun-20 5:20
MemberFabrizio Pulvirenti8-Jun-20 5:20 
GeneralRe: Move an user control by drag & drop Pin
Eddy Vluggen8-Jun-20 6:34
professionalEddy Vluggen8-Jun-20 6:34 
QuestionSQL error on bound datagridviews (master detail) Pin
roa20111-Jun-20 6:18
Memberroa20111-Jun-20 6:18 
AnswerRe: SQL error on bound datagridviews (master detail) Pin
Richard Deeming1-Jun-20 7:48
mveRichard Deeming1-Jun-20 7:48 
GeneralRe: SQL error on bound datagridviews (master detail) Pin
roa20112-Jun-20 0:53
Memberroa20112-Jun-20 0:53 
Questionexcel vba combobox and checkbox elements resizing Pin
Mat 25728-May-20 3:14
MemberMat 25728-May-20 3:14 
Questioni want to take average of it of one min. i have tried this code but no result found. please help Pin
Tommy Jo21-May-20 5:23
MemberTommy Jo21-May-20 5:23 
AnswerRe: i want to take average of it of one min. i have tried this code but no result found. please help Pin
Richard MacCutchan21-May-20 5:42
mveRichard MacCutchan21-May-20 5:42 

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.