Click here to Skip to main content
15,891,981 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Easiest method for form to change based on button clicked Pin
Christian Graus31-Jan-09 12:48
protectorChristian Graus31-Jan-09 12:48 
Questionproblems writing a program Pin
mcmm31-Jan-09 11:16
mcmm31-Jan-09 11:16 
AnswerRe: problems writing a program Pin
Alan N31-Jan-09 12:21
Alan N31-Jan-09 12:21 
AnswerRe: problems writing a program Pin
Christian Graus31-Jan-09 13:12
protectorChristian Graus31-Jan-09 13:12 
QuestionMS_ACCESS combobox filling. Pin
ketan bader31-Jan-09 2:09
ketan bader31-Jan-09 2:09 
AnswerRe: MS_ACCESS combobox filling. Pin
Henry Minute31-Jan-09 3:22
Henry Minute31-Jan-09 3:22 
QuestionProgrammatically controlling mouse. Pin
the fossil31-Jan-09 1:42
the fossil31-Jan-09 1:42 
AnswerRe: Programmatically controlling mouse. Pin
Dave Kreskowiak31-Jan-09 16:23
mveDave Kreskowiak31-Jan-09 16:23 
Well, this isn't as easy as it would sound, but it is possible. The biggest problem is that control positions change along with the position of the windows you're clicking in. Also, directly controlling the mouse and simulating a click is not the way to go. You have to send the appropriate window messages to the control you're "clicking" on, without doing anything with the mouse. You have to get the handles of control windows (every control is a seperate window) to send these messages to. This means knowing the controls class type and name and how to find the correct control you want to click on.

You'd have to do research on FindWindow, SendMessage, various window messages, Windows Hooks, the CBT hook, message pumps, ...

Seriously, this is NOT a beginner level project. If you don't know this stuff, you're going to find it extremely difficult to do.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Programmatically controlling mouse. Pin
the fossil1-Feb-09 4:02
the fossil1-Feb-09 4:02 
GeneralRe: Programmatically controlling mouse. Pin
Dave Kreskowiak1-Feb-09 6:36
mveDave Kreskowiak1-Feb-09 6:36 
GeneralRe: Programmatically controlling mouse. Pin
the fossil1-Feb-09 7:16
the fossil1-Feb-09 7:16 
GeneralRe: Programmatically controlling mouse. Pin
Dave Kreskowiak1-Feb-09 11:20
mveDave Kreskowiak1-Feb-09 11:20 
AnswerRe: Programmatically controlling mouse. Partial answer Pin
the fossil2-Feb-09 9:25
the fossil2-Feb-09 9:25 
AnswerRe: Programmatically controlling mouse. Pin
Bharat Jain2-Feb-09 20:50
Bharat Jain2-Feb-09 20:50 
GeneralRe: Programmatically controlling mouse. Pin
the fossil2-Feb-09 22:51
the fossil2-Feb-09 22:51 
GeneralRe: Programmatically controlling mouse. Pin
Bharat Jain2-Feb-09 23:51
Bharat Jain2-Feb-09 23:51 
GeneralRe: Programmatically controlling mouse. Pin
the fossil3-Feb-09 3:25
the fossil3-Feb-09 3:25 
GeneralRe: Programmatically controlling mouse. Pin
the fossil3-Feb-09 3:40
the fossil3-Feb-09 3:40 
GeneralRe: Programmatically controlling mouse. Pin
the fossil3-Feb-09 3:44
the fossil3-Feb-09 3:44 
QuestionCreating DataTable from System.Collections.Generic.List Pin
kanchoette31-Jan-09 1:23
kanchoette31-Jan-09 1:23 
AnswerRe: Creating DataTable from System.Collections.Generic.List Pin
Wendelius31-Jan-09 1:56
mentorWendelius31-Jan-09 1:56 
GeneralRe: Creating DataTable from System.Collections.Generic.List Pin
kanchoette31-Jan-09 2:05
kanchoette31-Jan-09 2:05 
GeneralRe: Creating DataTable from System.Collections.Generic.List Pin
Wendelius31-Jan-09 2:26
mentorWendelius31-Jan-09 2:26 
GeneralRe: Creating DataTable from System.Collections.Generic.List Pin
kanchoette31-Jan-09 3:10
kanchoette31-Jan-09 3:10 
GeneralRe: Creating DataTable from System.Collections.Generic.List Pin
Wendelius31-Jan-09 3:17
mentorWendelius31-Jan-09 3:17 

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.