VB.net Click on a certain coordinate - vb.net

i'm making a windows application that would open a program and click on certain coordinates, first i need to know how to get a coordinate, which i already know, but how do I let my mouse click on a certain position? Simply it would be somthing like mouse.Click(coordinate). I don't know, could anyone help?
Regards

I tried putting this as a comment, but SO wouldn't put the comment up after I typed it, so I had to put what I had as an answer.
Here are two links that might have what you're looking to do: http://social.msdn.microsoft.com/Forums/vstudio/en-US/7b68f005-1d09-4085-b236-b05797df3bf0/how-to-make-the-mouse-click
and
http://social.msdn.microsoft.com/Forums/vstudio/en-US/a2518c35-ed77-42b3-a9c4-705238d714c2/mouse-click
And if you just want to click a button, you could use
button.Performclick()
But I don't think that there's any simple way (such as Mouse.Click()) to make the mouse click anywhere.
HTH

Related

Disabling Mouse Click From Changing Selected Index in ListBox

Background:
In my program, I have a list of commands that I am sending to a robot. Each command is numbered, and I display them in a list box. When my program finishes running each command, I want it to highlight the next line in the list box. Changing the SelectedIndex seems to give me what I want. However, I do not want the User to be able to change the SelectedIndex through mouse click.
What I have tried so far:
Disabling the list box doesn't work because it disables scrolling
WPF: Disable ListBox, but enable scrolling The solution here seems kind of a bit of a hack, and does not quite give me what I am looking for.
ListView - select index only programmatically Intended for C#, not very familiar with C#, so I'm not exactly sure if this solution will work if I try translating it over to vb.net. If this solution is indeed correct, could I get some guidance on how to translate this to vb.net?
I am kind of stuck at this point, it kind of seems like I should be looking for a better solution to this problem. What do you guys recommend? should I continue trying to look for a way to disable the user from changing selected index with mouse click or should I go a completely different route?

Speech to text automatically starts when textfield begins to edit

I don't know the specific name for this button, but it is the one with the microphone that when you press it, it allows you to speak, and it will convert your speech into text.
I haven't been able to find anything on this, but when I click to edit a textfield I want that button to be pressed automatically so I can just begin to speak and then click done so that it will convert the audio to text.
I don't know if this is possible and can't seem to find anything on it... Probably because my search is weak since I have no idea how to ask it.
If anyone knows how to do this, or knows where there is anything on it, I would appreciate it greatly.
You cannot do that.
That is a part of Siri.
Till now Apple not provided any api to interact with siri.

xCode, ios show split-Keyboard

I'm looking for a show to show the "split keyboard" instead of the regular one.
I know that the user can drag the regular and show the "split", but is it possible to show directly the split?
Thanks (and sorry if very easy!)
No, you can not pre-set the location of the keyboard. It starts off in the way it sees best, and the user can adjust it if needs be.

How to simulate mouse clicks?

I was wondering how to create a sort of auto clicker using VB.NET.
I would basicly have the click coordinates pre-defined and the clicks, which would have to be separated by delays I guess since I want more than one to happen periodically, would happen outside of the application window (I read this envolves extra system hooks?).
The only code I have been able to find is related to clicks on the application window, which is not what I am looking for.
In short: I want to click a button on the app window, which would initiate a number of clicks on certain pre-defined screen coordinates.
Thanks in advance :)
See this discussion on social.msdn: Simulate a mouse click in a program.
Uses winapi: SetCursorPos, GetCursorPos and mouse_event.
I believe you need to P/Invoke into Windows to accomplish this.
Have a look at the SendInput function.
If you are using automate the program,that program have some tabindex in order to relevant control.then you can use;
SendKeys.Send("{TAB}");
SendKeys.Send("{ENTER}");
it is more accurate on desktop application

Dreamweaver how to get properties bar back

Oh my word. I struggle with the actual codeing of my website, and now something sooooo stupid has to happen....
In dreamweaver.. i think i pressed the wrong button or something, and now i cant fix it..
You know on the right hand side (usually) there is a window where you can set the properties of lets say a textbox. Like its name, its contents, its id etc.
That box has dissapeared... Now theres only some random boxes of properties i have NOOOO idea what for...
Can any one tell me how i can get that back please? The default ones back? (like a reset settings button somewhere?
Thank you!
Ruan.
Go to the Window menu and select Properties to get it back. Alternately, Control-F3.