Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to extract the attachments from a .msg file that saved on the harddisk and save the attachments with the email received date. Right now I am using an open source class called OutlookStorage.Cs which I've downloaded from here. That class works for me for .net 2.0 and above. Since class is using lots of generic lists and LINQ thing, I am unable to use the same class in .net 1.0. Does anyone have the class for .net 1.0 or c# code to achieve this?

What I have tried:

I have tried using the same class by converting some of the code to 1.0 and but that doesn't work really.
Posted
Updated 22-Jul-16 23:27pm
Comments
Philippe Mori 23-Jul-16 9:34am    
You should also read Migrating from the .NET Framework 1.1.

.NET 1.1 is not directly supported since Windows 7 and Windows 7 is almost at its end of life.

Linq also require at least .NET 3.5.

Thus either you upgrade your code to work with a more recent version of .NET or you don't use newer features.

1 solution

Very, very unlikely.
.NET V2 was released in 2007 - nine years ago, and made massive improvements to V1.0
It is not likely that anyone is going to have a version that supports .NET V1 sitting around ready to be "bolted in" to your application.
Instead, I'd strongly recommend upgrading your existing app to V2.0 (or later, that's pretty old now) and using the Generics it allows as they improve both readability and reliability of code. Going from strongly typed collections back to an untyped ArrayList is a major step back in terms of code quality. The conversion shouldn't be too difficult - it's all about improvements rather than removing existing facilities.
 
Share this answer
 
Comments
Philippe Mori 23-Jul-16 9:22am    
2.0 was released in 2005 in fact.

See .NET Framework Versions and Dependencies

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900