Discussion:
OLE IDispatch error 0 on Windows 7
(too old to reply)
Cory
2010-01-08 18:43:01 UTC
Permalink
I have a distributed VFP 7.0 program that accesses Outlook 2007 via
mapi32.dll to open, fill to email, body and subject with an attachment. I
receive the above error from the program but no other info. I am guessing
that it has to do with security in Windows 7 so the first thing I did was
turn UAC off. Is there somewhere else that controls programmatic access to
Outlook 2007?

I looked into the Outlook COM Add-in Trust Center and tried to add my exe
there but it would not add it.

Last comment is that oddly enough my program runs fine in Vista with Outlook
2007!! I am not very familiar with Windows 7, so any area in Windows 7 that
you can think might be interfering with mapi32.dll access to Outlook 2007
would be great. Thanks for your time.
Cory
2010-01-08 18:53:01 UTC
Permalink
Also, error message is:

OLE IDispatch exception code 0 from MAPIMessages: ..
Post by Cory
I have a distributed VFP 7.0 program that accesses Outlook 2007 via
mapi32.dll to open, fill to email, body and subject with an attachment. I
receive the above error from the program but no other info. I am guessing
that it has to do with security in Windows 7 so the first thing I did was
turn UAC off. Is there somewhere else that controls programmatic access to
Outlook 2007?
I looked into the Outlook COM Add-in Trust Center and tried to add my exe
there but it would not add it.
Last comment is that oddly enough my program runs fine in Vista with Outlook
2007!! I am not very familiar with Windows 7, so any area in Windows 7 that
you can think might be interfering with mapi32.dll access to Outlook 2007
would be great. Thanks for your time.
Cory
2010-01-11 20:01:03 UTC
Permalink
Is this a complete stumper? No one has had issues with mapi32.dll and
Windows 7? I really need an solution to this issue.
Post by Cory
OLE IDispatch exception code 0 from MAPIMessages: ..
Post by Cory
I have a distributed VFP 7.0 program that accesses Outlook 2007 via
mapi32.dll to open, fill to email, body and subject with an attachment. I
receive the above error from the program but no other info. I am guessing
that it has to do with security in Windows 7 so the first thing I did was
turn UAC off. Is there somewhere else that controls programmatic access to
Outlook 2007?
I looked into the Outlook COM Add-in Trust Center and tried to add my exe
there but it would not add it.
Last comment is that oddly enough my program runs fine in Vista with Outlook
2007!! I am not very familiar with Windows 7, so any area in Windows 7 that
you can think might be interfering with mapi32.dll access to Outlook 2007
would be great. Thanks for your time.
Paul Finch
2011-03-02 13:59:18 UTC
Permalink
Im having the same problem, did you find a solution ?
(also Win7 Pro and Outlook 2007)
Post by Cory
I have a distributed VFP 7.0 program that accesses Outlook 2007 via
mapi32.dll to open, fill to email, body and subject with an attachment. I
receive the above error from the program but no other info. I am guessing
that it has to do with security in Windows 7 so the first thing I did was
turn UAC off. Is there somewhere else that controls programmatic access to
Outlook 2007?
I looked into the Outlook COM Add-in Trust Center and tried to add my exe
there but it would not add it.
Last comment is that oddly enough my program runs fine in Vista with Outlook
2007!! I am not very familiar with Windows 7, so any area in Windows 7 that
you can think might be interfering with mapi32.dll access to Outlook 2007
would be great. Thanks for your time.
Post by Cory
OLE IDispatch exception code 0 from MAPIMessages: ..
Post by Cory
Is this a complete stumper? No one has had issues with mapi32.dll and
Windows 7? I really need an solution to this issue.
Submitted via EggHeadCafe
.NET Windows Services - Timer, Debugging, and Installation
http://www.eggheadcafe.com/tutorials/aspnet/0ddb1434-d3c9-424c-8b12-bdf75c50588c/net-windows-services--timer-debugging-and-installation.aspx
Paul Finch
2011-03-02 14:00:13 UTC
Permalink
Im having exactly the same problem, did you find a solution ?
Post by Cory
I have a distributed VFP 7.0 program that accesses Outlook 2007 via
mapi32.dll to open, fill to email, body and subject with an attachment. I
receive the above error from the program but no other info. I am guessing
that it has to do with security in Windows 7 so the first thing I did was
turn UAC off. Is there somewhere else that controls programmatic access to
Outlook 2007?
I looked into the Outlook COM Add-in Trust Center and tried to add my exe
there but it would not add it.
Last comment is that oddly enough my program runs fine in Vista with Outlook
2007!! I am not very familiar with Windows 7, so any area in Windows 7 that
you can think might be interfering with mapi32.dll access to Outlook 2007
would be great. Thanks for your time.
Post by Cory
OLE IDispatch exception code 0 from MAPIMessages: ..
Post by Cory
Is this a complete stumper? No one has had issues with mapi32.dll and
Windows 7? I really need an solution to this issue.
Post by Paul Finch
Im having the same problem, did you find a solution ?
(also Win7 Pro and Outlook 2007)
Submitted via EggHeadCafe
SQL Operations on a Text File with ADO.NET
http://www.eggheadcafe.com/tutorials/aspnet/37ed9e1b-c5de-4c0b-afbe-d8f78f9a6ecf/sql-operations-on-a-text-file-with-adonet.aspx
Loading...