Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / New Users / March 2006

Tip: Looking for answers? Try searching our database.

Sending email via .NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
msnews.microsoft.com - 15 Mar 2006 20:48 GMT
Hi,

   I have a .net app that is sending email via outlook. I works fine. The
problem is that the client PC has Outlook 2000 SP3 installed and on my box I
have Outlook 2003 installed. I can not upgrade the client PC and cant
downgrade my PC. How can I get things to work?

   G.
Diane Poremsky [MVP] - 16 Mar 2006 04:49 GMT
Can you be more specific about what isn't working? Do you mean it works on
outlook 2003 but not 2000?

Signature

Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide)
Need Help with Common Tasks? http://www.outlook-tips.net/beginner/

Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com
Subscribe to Exchange Messaging Outlook newsletter:
EMO-NEWSLETTER-SUBSCRIBE-REQUEST@PEACH.EASE.LSOFT.COM

> Hi,
>
[quoted text clipped - 4 lines]
>
>    G.
George Lake - 16 Mar 2006 14:34 GMT
I have on my PC (developers box) outlook 2003, and on the PC that the app
will run I have outlook 2000. When the app runs I get this error.
Error interno de la aplicación. -    at
Outlook.ApplicationClass.CreateItem(OlItemType ItemType)
  at wsMSCIndicadores.clsMail.SendEmail() in H:\Documents and
Settings\glake\My Documents\Visual Studio
Projects\wsMSCIndicadores\clsMail.vb:line 82

I am gessing that there is a differance between versions.
I can not install 2003 on that PC and I can not install 2000 on my PC, so,
what can I do? Can I get the dlls for 2000 and use them on my pc? or can I
copy the 2003 dlls to the 2000 box?

Thanks.

> Can you be more specific about what isn't working? Do you mean it works on
> outlook 2003 but not 2000?
[quoted text clipped - 7 lines]
>>
>>    G.
Ken Slovak - [MVP - Outlook] - 16 Mar 2006 15:26 GMT
You aren't supposed to copy them.

One solution is to develop versions of your code for specific versions of
Outlook. Use development machines that have those versions of Outlook
installed. And of course you have to ensure that each client has the correct
version of the Framework installed.

Another solution is to develop only on the oldest version of Outlook you
plan to support and use early binding only on those methods, properties and
events and late-bind to properties and methods that are from later versions
of Outlook if you use them at all.

Signature

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

>I have on my PC (developers box) outlook 2003, and on the PC that the app
>will run I have outlook 2000. When the app runs I get this error.
[quoted text clipped - 10 lines]
>
> Thanks.
Sue Mosher [MVP-Outlook] - 16 Mar 2006 15:48 GMT
... and the correct version of the Office PIAs.

Signature

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
 

> You aren't supposed to copy them.
>
[quoted text clipped - 22 lines]
>>
>> Thanks.
Ken Slovak - [MVP - Outlook] - 17 Mar 2006 15:53 GMT
Yup. That too. Isn't .NET code fun? It was supposed to eliminate DLL Hell,
instead it introduced PIA and Framework Hell. A nice tradeoff.

Signature

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

... and the correct version of the Office PIAs.

Signature

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

Sue Mosher [MVP-Outlook] - 17 Mar 2006 16:18 GMT
Not to mention CAS Hell, the real burner.

Signature

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
 

> Yup. That too. Isn't .NET code fun? It was supposed to eliminate DLL Hell,
> instead it introduced PIA and Framework Hell. A nice tradeoff.
>
> ... and the correct version of the Office PIAs.
Ken Slovak - [MVP - Outlook] - 18 Mar 2006 19:12 GMT
All those poor people who have the addin running on the development machine
and can't get it running on the client :(

MS really ought to have a more compelling picture for deployment. Even VSTO
requires too much in the way of manual manipulation of the package.

Signature

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

Not to mention CAS Hell, the real burner.

Signature

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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.