VBA - How to insert characters from the press of a command button - vba

I'm building a home surveillance system for use in my home and possibly to publish on my blog. However; I've ran into a problem. We only use a mouse for input, and most people use only mouse. So, I needed to build an on-screen keyboard. I got a VBA frame and put a text box, and layed out a load of buttons to make a keyboard. I need help with the code that makes it so that when you press a key it will put that character in the text input box so that the user can see what they are entering. If you know, or could suggest a fix, please reply! Thank you!

Related

How to change the status of check boxes with key stroke in Visual Basic?

I am now trying to change the status of check boxes (checked or unchecked) by pressing the enter key from the keyboard. I searched through on the web, and I am not lucky enough to get what I want.
Because I set up to go through all the fields by pressing the tab button on the keyboard, having to go for the mouse and move it and click on the check box seems a little irritating. So, there must be a way to change the status of the check box(es) just by pressing the enter key from the keyboard.
Can anyone help me with this, please?
Thanks in advance.

wacom and myscript set handwritng recognition function

im not sure if its the right place to put my question, but i think maybe get an answer here.
the last few days thinking about a way to make μυ work easier.
What I want is to write by hand and convert into text on the computer.
namely when I am on a page with multiple text forms like this im writing now,
when i choose a text form with a pen (like wacom graphic tablet) write on a surface and the automaticaly when i stop or pressing a button the text turn into text in the form.
my title say about wacom because i found bamboo scribe.. if someone uses this please explain me whats can do and if can work for me.
i test myscript. with fullscreen tool wich you can write everywhere on the screen is easiest but when you finish you have to press a button on the program to insert the text in the selected area.
so my question is there any way to press that button with the button placed on stylus pen?
i saw that you can set functions when a button clicked on the wacom tablet or on pen.
i have not bought yet anything because im searching if is out there anything could do what i want better. something made for that particular job
Thanks and sorry for my bad english..

VB.net Click on a certain coordinate

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

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.

Copy text to an external program, click somewhere on the screen, then save a screenshot

I picked vb.net for this question since it's the only prgramming language I am fairly familair with, but if C++ or something else is more suited for this, I am willing to learn something new.
What I am trying to do is:
Retrieve text from database (this already works in vb.net) and copy it to clipboard
Switch primary screen to the external application I want to work with (example: word or open office)
Emulate key-press Enter
Paste text and hit Enter again
Emulate key-press Ctrl and then emulate a click on a pre-defined spot on the screen (like 500pixels from left, 740pixels from top).
Save screenshot, using a second value from the database as the filename (the naming part should be easy)
Emulate another click on another pre-defined spot
Repeat for next text in database.
I wouldn't know where to start, though. I guess the most important part of what I'm trying to achieve is; switching focus to an external application and emulate keypresses and mouse clicks on it.
use http://www.autohotkey.com/
write a console app to get the value from the database
1 - get autohotkey to run the console app and put the return into the clipboard
then continue as described in your list.