Solved

Need to make F9 function key cause email to be sent

Posted on 2007-03-22
4
816 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

706 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

21 Experts available now in Live!

Get 1:1 Help Now