Solved

Need to make F9 function key cause email to be sent

Posted on 2007-03-22
4
818 Views
Last Modified: 2008-01-09
I want to send a short email message when the F9 key is pressed. This must alsways work so someone with Windows driver experience and programming would be a good fit. Simple Press F9 message is sent.

Thanks in advance
0
Comment
Question by:stealthdeveloper
  • 2
  • 2
4 Comments
 
LVL 15

Expert Comment

by:qz8dsw
ID: 18777548
Hi stealthdeveloper,

So your after a TSR/service that will monitor/hook the F9 keyboard event and send an e-mail when it happens.
What programming language?
What exactly is it for?
And who will support it when written?

Terry
0
 
LVL 15

Expert Comment

by:qz8dsw
ID: 18777729
Hi stealthdeveloper,

Oh, and it doesn't need to be a driver.
A driver is for communicating with hardware.
Also how will it send the mail?
SMTP/Exchange/via outlook (To save it in the sent items)
Are the settings for the mail server static or should they be gotten off the machine it's running on?

Theres alot of questions that need answering before such a thing can be built.
I like your key choice though. F9 in VB is used to set a break point so you can debug your code.
Could be interesting debugging it if it send an e-mail every time you set a breakpoint on and off.

Heres a VB6 sample about keyboard hooking.
http://vbnet.mvps.org/index.html?code/hooks/lowlevelkeyboardproc.htm

Heres one about sending e-mail via VB6
http://www.devarticles.com/c/a/Visual-Basic/Fun-with-Email-VB6-CDO-MAPI/

And two about how to create a service.
http://www.freevbcode.com/ShowCode.Asp?ID=4317
http://www.vbrad.com/article.aspx?id=92
0
 

Accepted Solution

by:
dkraatz earned 125 total points
ID: 18779408
Hi stealthdeveloper,

I'm not so sure the F9 key is the way to go with this one.  Especially if you are using Outlook 2003.  The F9 key is already setup in Outlook 2003 to do the send, and recieve function.  If you are programing this into a application I suggest looking at this article.

http://articles.techrepublic.com.com/5100-3513_11-5850937.html

I have used this before in some of my applications.  It works great if you hide a button on the form and set the shortcut key to F9.
0
 

Expert Comment

by:dkraatz
ID: 18779434
Oh sorry I almost forgot that if you do use this in Outlook 2003 it will cause the stupid virus warning to open causing a yes/no response need by the person using the program.  Also I was asuming that you are doing this with Visual Basic.  If you want the code I used I will post it on here for you.
0

Featured Post

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now