Click here to Skip to main content
15,917,610 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalsystem.thread.sleep Pin
solarthur0128-Jan-08 4:15
solarthur0128-Jan-08 4:15 
GeneralRe: system.thread.sleep Pin
Colin Angus Mackay28-Jan-08 5:58
Colin Angus Mackay28-Jan-08 5:58 
GeneralRe: system.thread.sleep Pin
solarthur0128-Jan-08 6:29
solarthur0128-Jan-08 6:29 
GeneralFormating Excel sheet by VB.Net Pin
Pradip Kishore28-Jan-08 1:52
Pradip Kishore28-Jan-08 1:52 
GeneralRe: Formating Excel sheet by VB.Net Pin
Justin Perez28-Jan-08 3:16
Justin Perez28-Jan-08 3:16 
QuestionVBA for Outlook Question Pin
wjtaylor28-Jan-08 1:31
wjtaylor28-Jan-08 1:31 
Questionhow to control the left button of the mouse Pin
saadmechiche28-Jan-08 1:05
saadmechiche28-Jan-08 1:05 
AnswerRe: how to control the left button of the mouse Pin
Johan Hakkesteegt28-Jan-08 6:26
Johan Hakkesteegt28-Jan-08 6:26 
Your question is rather vague, so I'll do a little guess work: You have a windows application that does something when you click the left mouse button anywhere on the window or on a specific control. This application is run in an environment with a cat, which is not being fed enough. So on a regular basis you are forced to press the enter key on your keyboard instead of clicking the left mouse button.
Generally speaking the answer is quite simple: get rid of the cat. But seriously, put the code that you want to execute, when normally you press the left mouse button, in its own sub or function, and then instead of writing this same code directly under the mouse button click event, you only call the sub or function. Same thing with the KeyPress event, except that you may first have to check that the button pressed is actually the enter key (If e.KeyChar = Chr(13) Then). As a result you only have to write the code once, and you can make pretty much any event execute it.

If this isn't at all what you meant, then I suggest being more specific, otherwise I hope it helps.

Johan

My advice is free, and you may get what you paid for.

QuestionAsynchronous socket problem? Pin
Benny_Lava28-Jan-08 0:19
Benny_Lava28-Jan-08 0:19 
GeneralImages in My.settings Pin
plural27-Jan-08 23:54
plural27-Jan-08 23:54 
QuestionRe: Images in My.settings Pin
newc128-Jan-08 1:34
newc128-Jan-08 1:34 
GeneralRe: Images in My.settings Pin
plural28-Jan-08 4:22
plural28-Jan-08 4:22 
QuestionRe: Images in My.settings Pin
Steven J Jowett28-Jan-08 5:13
Steven J Jowett28-Jan-08 5:13 
Generalrepeat columns in grid view Pin
hepsy.i27-Jan-08 22:38
hepsy.i27-Jan-08 22:38 
Generalwanna check folder exist or not Pin
phoopwint27-Jan-08 20:56
phoopwint27-Jan-08 20:56 
GeneralRe: wanna check folder exist or not Pin
The ANZAC27-Jan-08 21:37
The ANZAC27-Jan-08 21:37 
QuestionHow to Change back color in selected row in that data grid view table [modified] Pin
Francis K Antony27-Jan-08 20:14
Francis K Antony27-Jan-08 20:14 
GeneralDate Conversion Problem Pin
danasegaranea27-Jan-08 19:59
danasegaranea27-Jan-08 19:59 
GeneralRe: Date Conversion Problem Pin
VB Prog29-Jan-08 10:47
VB Prog29-Jan-08 10:47 
Generalprohibit virtual printer to create pdf document Pin
eyes200727-Jan-08 19:56
eyes200727-Jan-08 19:56 
GeneralRe: prohibit virtual printer to create pdf document Pin
Johan Hakkesteegt2-Feb-08 10:34
Johan Hakkesteegt2-Feb-08 10:34 
QuestionHow to raise a event to another control in the same form Pin
learnVB27-Jan-08 17:13
learnVB27-Jan-08 17:13 
AnswerRe: How to raise a event to another control in the same form Pin
CKnig27-Jan-08 18:16
CKnig27-Jan-08 18:16 
GeneralRe: How to raise a event to another control in the same form Pin
learnVB28-Jan-08 3:58
learnVB28-Jan-08 3:58 
GeneralVB.NET / ADO question Pin
Tom Wright27-Jan-08 15:40
Tom Wright27-Jan-08 15:40 

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.