causing a form to display in reply mode

G

Gary Lemmon

Now I need to make a message that has been selected pop up as if the user
hit the replyall button without any anti bug messages.

I have all of the code to select the email and have been using the reply
action to start the reply process. This is the point where I get the bug
traping dialogue.

Is there another way to effectivly display the email and click the reply all
button?

Thanks in advance

Gary
 
S

Sue Mosher [MVP]

What "bug trapping dialogue" are you referring to? A code snippet might be useful.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
G

Gary Lemmon

Sorry, I tried to include a picture of the message box from outlook but it
made the message too big.

The dialogue reads
A program is trying to execute an action or verb on your behalf. Do you want
to allow this?
If tis is unexpected, it may be a virus and you should choose "No".

Here is the code.

Set objFolder = Session.GetDefaultFolder(olFolderCalendar)
Set oItem.MessageClass = objFolder.Items.Add("IPM.Note.Gary")
oItem.Actions("Reply").Execute

by the way thanks for taking an interest.

G

What "bug trapping dialogue" are you referring to? A code snippet might be
useful.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
G

Gary Lemmon

Ok this is resolved.

I set my selected mail object's reply method to a new object and then showed
that new object.

Set myItem = oItem.Reply
myItem.Display



What "bug trapping dialogue" are you referring to? A code snippet might be
useful.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top