I wanna set up a panel, that will, when opend up will sit on the side of the screen. It will consist of around 8 or so large buttons each with a different name on them. When the buttons are clicked on they will send the keys Ctrl+shift+F9 for example. Each different button will have a different variation of keys that it will automaticly send. The idea behind this is that I will have another program running that will be se up to perform actions when certain keys are pressed (Autohotkey if your familiar).
Now I'll be honest, I dont have a clue with visual basic, or any code other than html, hence why I'm posting here hoping I can get some help. Can anyone provide me with some information on how to set up buttons or how to do this entire task? That would be greatly apprechiated!
Look foward to reading what you suggest,
Graham
It sounds like you want to dock the panel on the desktop? I think I tried this when some time ago but realised that I couldn´t find any solutions to it in VB. I did find it for C# though. I have attached a zip file with an example project. This is not visual basic but C#, hope it can help you anyways!
Here is an article about sending keys to another application in C#: Sending Keystrokes to another Application in C# - CodeProject
NOTE: I have not done this, I found it on codeproject but couldn´t find the article again so I zipped an example.
C# Docking.zip
http://www.mediafire.com/?ijmhzkymm4t
Last edited by hampus.tagerud; 03-25-2010 at 06:34 AM. Reason: Forgot to put in the link....
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks