Issues with .NET1.1 and Office 2007

T

Taffy Tim

Hi,

I was wondering if anyone has come across problems when trying to run VB.NET
1.1 apps using Office 2007 ? I've found a number of sites/posts etc that
suggest there may be issues but nothing that relates specifically to my
issue.

Basically we've got .VB.NET1.1 apps running ok on office 2003, but we are
beginning to roll out office 2007 to our users. One user has encountered an
error, when trying to send email via the outlook class/namespace in .NET.
They get the error;

"System.Runtime.Interopservices.COMException (0x00004004): Operation aborted
at Outlook._MailItem,get_Body()"

The app seems to fail at the code line;

"Dim sBodyLen AS String = oMsg.Body.Length"

with oMsg previously defined as ;

"Dim oMsg As Outlook._MailItem"

Is it still possible to use these constructs in Office 2007, are does the
code need to be updated/upgraded in some way. Do we need to apply any patches
to our Office 2007 implementation, etc ...

Any advice/suggestions would be appreciated.
In the meantime I'll keep searching and report back any findings.

Thanx,
Tim :)
 

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