vb2010 Click Using "X" & "Y" Coordinates

09/17/2011 18:40 SUPERZETH#1
Hello I need some help in Visual basic 2010

I Want to Click an button on an website via the x and y cordinate's

i want to fill in the x cordinate's in like textbox 1 and the y in textbox2 so wen i press button1 it clicks the button on the website does any one knows an code or does any one knows an video whit an tutorial of that :) i would reall apriciate it ^^

greetz zeth

b.t.w(you wil get an thanks if it works ^^ )
09/17/2011 18:41 SmackJew#2
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
09/17/2011 18:52 SUPERZETH#3
Quote:
Originally Posted by SmackJew View Post
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
i dont really understand that :s
09/17/2011 18:55 SmackJew#4
Quote:
Originally Posted by SUPERZETH View Post
i dont really understand that :s
Yea right you read both articles within 11 minutes. If you don't actually want to code but C&P, then do so, but don't be so bold to ask for the code to copy. That's just pathetic.
09/17/2011 19:05 Che#5
Move Cursor:
PHP Code:
dim x as integer 123
dim y 
as integer 456
SetCursorPos
(xy
Simulate a Mouseclick:

"Function":
PHP Code:
 Public Declare Sub mouse_event Lib "user32" Alias "mouse_event" (ByVal dwFlags As IntegerByVal dx As IntegerByVal dy As IntegerByVal cButtons As IntegerByVal dwExtraInfo As Integer)
Const 
MOUSEEVENTF_MOVE = &H1 
Const MOUSEEVENTF_LEFTDOWN = &H2 
Const MOUSEEVENTF_LEFTUP = &H4 
Const MOUSEEVENTF_RIGHTDOWN = &H8 
Const MOUSEEVENTF_RIGHTUP = &H10 
Const MOUSEEVENTF_MIDDLEDOWN = &H20 
Const MOUSEEVENTF_MIDDLEUP = &H40 
Const MOUSEEVENTF_ABSOLUTE = &H8000 
Usage:
PHP Code:
Call mouse_event(MOUSEEVENTF_LEFTDOWN0000)         
Call mouse_event(MOUSEEVENTF_LEFTUP0000
leave the "Call" out if it throws errors....

€dit: The "function" to simulate a click is not made by me!
09/17/2011 19:08 Brutalon#6
I think its the wrong way to give him now c&p file.
If he even dont understand msdn then he should learn some more basic shit.
09/17/2011 19:15 SUPERZETH#7
Quote:
Originally Posted by Dr.Invisible View Post
I think its the wrong way to give him now c&p file.
If he even dont understand msdn then he should learn some more basic shit.
i am not someone who just copy and past if i see i code then i am going o learn about it search why what what is i ^^ so i learn from other code's and afcourse tutorials
09/17/2011 19:20 SmackJew#8
Quote:
Originally Posted by SUPERZETH View Post
i am not someone who just copy and past if i see i code then i am going o learn about it search why what what is i ^^ so i learn from other code's and afcourse tutorials
If you can't use a function with the MSDN documentation you clearly don't understand anything about programming. It's not like it's some kind of complicated creative shit, it's a WinAPI function. All you have to do is choose parameters according to your needs and call the function.
09/17/2011 22:52 Che#9
Quote:
Originally Posted by Dr.Invisible View Post
I think its the wrong way to give him now c&p file.
If he even dont understand msdn then he should learn some more basic shit.
yeah maybe... but t'day i'm nice to every1.... and gotta do a bit "thanks-hunting" :awesome: