A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: ,

Application_ItemSend not working





 
 
Thread Tools Display Modes
  #1  
Old October 13th 06, 09:32 AM posted to microsoft.public.outlook
bierlyt@gmail.com
external usenet poster
 
Posts: 6
Default Application_ItemSend not working

Apparently there is no built-in functionality to Outlook 2002 to
automatically add contacts that you either send or reply to. However,
I found some code that uses Redemption library to add a new contact
whenever you send to an email not in your contact list.

I am supposed to put some of the code in the Application_ItemSend event
for ThisOutlookSession. I hit Alt-F11 to open the Visual Basic editor,
and chose Application from the first drop down, and ItemSend from the
second drop-down and it created the stub sub.

I added the code in and tried sending an email. Nothing happened. I
tried putting a breakpoint in the Application_ItemSend event, and it
never gets hit.

Why woud the ItemSend event not get triggered when I send an email??

Thanks,
Toby

Ads
  #2  
Old October 13th 06, 09:54 AM posted to microsoft.public.outlook
John Blessing
external usenet poster
 
Posts: 60
Default Application_ItemSend not working



wrote in message
oups.com...
Apparently there is no built-in functionality to Outlook 2002 to
automatically add contacts that you either send or reply to. However,
I found some code that uses Redemption library to add a new contact
whenever you send to an email not in your contact list.

I am supposed to put some of the code in the Application_ItemSend event
for ThisOutlookSession. I hit Alt-F11 to open the Visual Basic editor,
and chose Application from the first drop down, and ItemSend from the
second drop-down and it created the stub sub.

I added the code in and tried sending an email. Nothing happened. I
tried putting a breakpoint in the Application_ItemSend event, and it
never gets hit.

Why woud the ItemSend event not get triggered when I send an email??

Thanks,
Toby


It is possible the code you put the breakpoint on was inside a conditional
statement that was never True. Without seeing the code, it is hard to judge.

Try putting a simple msgbox statement as the first line of the item_send
event

--
John Blessing

http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.room-booking-software.com - Schedule rooms & equipment bookings
for your meeting/class over the web.
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook, find/replace,
send newsletters


  #4  
Old October 13th 06, 03:26 PM posted to microsoft.public.outlook
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Application_ItemSend not working

Did you check VBA security and other basics? See http://www.outlookcode.com/d/vbabasics.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

wrote in message oups.com...
Apparently there is no built-in functionality to Outlook 2002 to
automatically add contacts that you either send or reply to. However,
I found some code that uses Redemption library to add a new contact
whenever you send to an email not in your contact list.

I am supposed to put some of the code in the Application_ItemSend event
for ThisOutlookSession. I hit Alt-F11 to open the Visual Basic editor,
and chose Application from the first drop down, and ItemSend from the
second drop-down and it created the stub sub.

I added the code in and tried sending an email. Nothing happened. I
tried putting a breakpoint in the Application_ItemSend event, and it
never gets hit.

Why woud the ItemSend event not get triggered when I send an email??

Thanks,
Toby

  #5  
Old October 13th 06, 03:26 PM posted to microsoft.public.outlook
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 3,736
Default Application_ItemSend not working

What are your macro permissions set to? If they are Medium you should be
prompted for permission to run macros when Outlook starts. If High you'd
need to sign the macro code project to get things to run.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
oups.com...
Apparently there is no built-in functionality to Outlook 2002 to
automatically add contacts that you either send or reply to. However,
I found some code that uses Redemption library to add a new contact
whenever you send to an email not in your contact list.

I am supposed to put some of the code in the Application_ItemSend event
for ThisOutlookSession. I hit Alt-F11 to open the Visual Basic editor,
and chose Application from the first drop down, and ItemSend from the
second drop-down and it created the stub sub.

I added the code in and tried sending an email. Nothing happened. I
tried putting a breakpoint in the Application_ItemSend event, and it
never gets hit.

Why woud the ItemSend event not get triggered when I send an email??

Thanks,
Toby


  #6  
Old October 17th 06, 01:54 AM posted to microsoft.public.outlook
bierlyt@gmail.com
external usenet poster
 
Posts: 6
Default Application_ItemSend not working

Thank you all for the response. Ken takes home the prize. It was the
macro security level. It was set to high, which disables macros
without prompting. I set it to medium, then restarted Outlook, and
said Enable Macros at the prompt. ItemSend code runs now when a
message is sent.

Thanks,
Toby

Ken Slovak - [MVP - Outlook] wrote:
What are your macro permissions set to? If they are Medium you should be
prompted for permission to run macros when Outlook starts. If High you'd
need to sign the macro code project to get things to run.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
oups.com...
Apparently there is no built-in functionality to Outlook 2002 to
automatically add contacts that you either send or reply to. However,
I found some code that uses Redemption library to add a new contact
whenever you send to an email not in your contact list.

I am supposed to put some of the code in the Application_ItemSend event
for ThisOutlookSession. I hit Alt-F11 to open the Visual Basic editor,
and chose Application from the first drop down, and ItemSend from the
second drop-down and it created the stub sub.

I added the code in and tried sending an email. Nothing happened. I
tried putting a breakpoint in the Application_ItemSend event, and it
never gets hit.

Why woud the ItemSend event not get triggered when I send an email??

Thanks,
Toby


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Application_ItemSend doesn't trigger after I save the vba project Rick Outlook and VBA 7 June 22nd 06 05:25 PM
Is this working now? Oldfield-Cherry Outlook Express 1 June 12th 06 08:37 PM
Appointment's Not Working Joe Gabba Outlook - Calandaring 1 May 31st 06 03:09 AM
Archive doesn't seem to be working dwt Outlook - Calandaring 4 April 21st 06 06:47 PM
Links not working right Ernie Lane Outlook Express 7 February 8th 06 01:38 PM


All times are GMT +1. The time now is 12:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
CitiBank Credit Cards - Personal Loans - Property in Spain - Loans - Facebook Proxy