|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to simulate mouse click in vb.netHi,
Instead of using user32 API for simulating mouse click (left down, left up, etc.), are there any .net function/class that i can use? Public Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Int32, ByVal dx As Int32, ByVal dy As Int32, ByVal cButtons As Int32, ByVal dwExtraInfo As Int32) Thanks, Glenn "Glenn Palomar" <glenn.palo***@autodesk.com> schrieb: No.> Instead of using user32 API for simulating mouse click (left down, left > up, etc.), are there any .net function/class that i can use? -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Thanks.
How about keboard events? Is there another way of simulating keyboard events in .net without using keybd_event user32 API. If none, is this declaration correct? Public Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long) Thanks, Glenn Show quoteHide quote "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message news:OfrgjBKcGHA.3872@TK2MSFTNGP04.phx.gbl... > "Glenn Palomar" <glenn.palo***@autodesk.com> schrieb: >> Instead of using user32 API for simulating mouse click (left down, left >> up, etc.), are there any .net function/class that i can use? > > No. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> "Glenn Palomar" <glenn.palo***@autodesk.com> schrieb: 'SendKeys.Send'.> How about keboard events? Is there another way of simulating keyboard > events in .net without using keybd_event user32 API. > If none, is this declaration correct? No, it's incorrect. Change 'As Long' to 'As Int32'.> > Public Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal > bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long) -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Read Emails on Exchange server without OL client
VB2005 timing/speed problem single to string problem Error setting CSV to display text set focus from treeview to control How to move the mouse around in vb.net Invalid format of DLL How do I take a screenshot in VB.net 2005 Vb Net2005 putting thread to sleep Pass string from vb.net 2005 to c dll |
|||||||||||||||||||||||