PC Review


Reply
Thread Tools Rate Thread

Outlook Read Email Does Not Run My Custom Form

 
 
Mike
Guest
Posts: n/a
 
      3rd Jun 2005
Hello - I have a custom Email form in Outlook I have designed with a button
on it (with script code). I have published the form. I have unchecked the
"send form definition with item" at the property sheet.

When I click my custom button on the form it works great when I send an
Email to myself (as a test) in Outlook. But, when I send the Email from my
application it does not work. I'm thinking there is something wrong with
the code in my application and how it is launching the form. If I click
Form, Run this form then the custom button works either way (whether I send
the form directly from outlook or from my application). I am using this
code (Visual FoxPro Code):

loNameSpace = loApp.GetNameSpace("MAPI")
loOutbox = loNameSpace.GetDefaultFolder(4)
loMsg = loOutbox.Items.Add("IPM.Note.A1OLNew")
loMsg.Display

Do I need to change my code? I can't figure out why when I send it through
Outlook everything works but when I send it through my application it
doesn't. I'm thinking my code is not accessing the published forms in
Outlook. I don't know Outlook programming very well so all help would be
appreciated. Thanks.

Mike



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Read data from outlook custom form and export it to MS SQL Server DB Ilin Start via OfficeKB.com Microsoft Outlook VBA Programming 2 6th Oct 2005 01:22 PM
Outlook Read Email does not run my custom form (still) Mike Microsoft Outlook 7 4th Jun 2005 01:40 PM
Re: Outlook Read Email does not run my custom form (still) Mike Microsoft Outlook Form Programming 6 4th Jun 2005 01:40 PM
Outlook Read Email Does Not Run My Custom Form Mike Appell Microsoft Outlook 12 12th May 2005 01:40 PM
save a custom message form as msg file in read mode in outlook 200 =?Utf-8?B?bGlseQ==?= Microsoft Outlook Interoperability 6 23rd Nov 2004 02:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:34 AM.