I would like to write a value on keydown (i'm going to use external triger) at mouse pointer position outside visual basic application (to a acces database cell or excel cell). ans suggestion how to do that? tnx
writing to mouse pointer position
Collapse
X
-
is it VB problem?Originally posted by jeferI would like to write a value on keydown (i'm going to use external triger) at mouse pointer position outside visual basic application (to a acces database cell or excel cell). ans suggestion how to do that? tnx
"outside visual basic application "- what does it mean?
Plz Clearly Mention. -
Sounds mighty complex. To do so, you would have to (a) evaluate the mouse position on the display, (b) determine what (application) is visible at that point, (c) determine what the mouse is over in that other window, and (d) somehow interface to that application and tell it what to do.Originally posted by jeferI would like to write a value on keydown (i'm going to use external triger) at mouse pointer position outside visual basic application (to a acces database cell or excel cell). ans suggestion how to do that? tnx
Of these, I'd say a is relatively simple, b is probably not too much tougher, d may range greatly in difficulty but will most likely have to be coded to work with specific applications, and c may be a real problem.
There might be some way to short-circuit things by sending a mouse-click and keypress to Windows, but all I can say is, good luck!Comment
-
I think he wants to get value from access cell or excel cell directly by clicking on it or by mouse hover.Originally posted by jeferI would like to write a value on keydown (i'm going to use external triger) at mouse pointer position outside visual basic application (to a acces database cell or excel cell). ans suggestion how to do that? tnx
When he clicks or hover the mouse pointer on that particular cell the values passes to vb.
For such i don't think this is simple.
You need to declare API which returns the position of mouse pointer then you also need a big programming which detects on which application your mouse is over and detecting that is that a cell or not and then get value from that.
I have made such application a month ago which detects the position of mouse and detects the program name on which that was.
So i ll try to modify that for your needs and then send you.
Regards
>> ALI <<Comment
Comment