Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - General Queries (http://www.outlookbanter.com/outlook-general-queries/)
-   -   Sending email via .NET (http://www.outlookbanter.com/outlook-general-queries/8342-sending-email-via-net.html)

msnews.microsoft.com March 15th 06 08:48 PM

Sending email via .NET
 
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] March 16th 06 04:49 AM

Sending email via .NET
 
Can you be more specific about what isn't working? Do you mean it works on
outlook 2003 but not 2000?

--
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:



"msnews.microsoft.com" wrote in message
...
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.




George Lake March 16th 06 02:34 PM

Sending email via .NET
 
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.


"Diane Poremsky [MVP]" wrote in message
...
Can you be more specific about what isn't working? Do you mean it works on
outlook 2003 but not 2000?

--
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:



"msnews.microsoft.com" wrote in message
...
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.






Ken Slovak - [MVP - Outlook] March 16th 06 03:26 PM

Sending email via .NET
 
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.

--
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


"George Lake" wrote in message
...
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.



Sue Mosher [MVP-Outlook] March 16th 06 03:48 PM

Sending email via .NET
 
.... and the correct version of the Office PIAs.

--
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

"Ken Slovak - [MVP - Outlook]" wrote in message ...
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.

--
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


"George Lake" wrote in message
...
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.



Ken Slovak - [MVP - Outlook] March 17th 06 03:53 PM

Sending email via .NET
 
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.

--
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


"Sue Mosher [MVP-Outlook]" wrote in message
...
.... and the correct version of the Office PIAs.

--
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] March 17th 06 04:18 PM

Sending email via .NET
 
Not to mention CAS Hell, the real burner.

--
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

"Ken Slovak - [MVP - Outlook]" wrote in message ...
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.

--
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


"Sue Mosher [MVP-Outlook]" wrote in message
...
... and the correct version of the Office PIAs.



Ken Slovak - [MVP - Outlook] March 18th 06 07:12 PM

Sending email via .NET
 
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.

--
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


"Sue Mosher [MVP-Outlook]" wrote in message
...
Not to mention CAS Hell, the real burner.

--
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




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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com