1
I Use This!
Activity Not Available

News

Analyzed about 1 year ago. based on code collected about 1 year ago.
Posted over 11 years ago by JaCraig
Switched the code a bit, but thank you for letting me know about the issue. It has been a while since I've dealt with COM objects in a project so I didn't think to check that. Anyway, new version has been uploaded to NuGet.
Posted over 11 years ago by James Craig
Updated a couple of extension methods based on MBDTeam's bug report.
Posted over 11 years ago by MBDTeam
The solution above is tested and working. Michael
Posted over 11 years ago by MBDTeam
Hello James, its me again ;-) I think I found a serious bug in your new Version. The Bug is in Utilities.DataTypes.ExtensionMethods.ReflectionExtensions / Utilities.DataTypes.Conversion.Manager. In the Manager Class your are loading all dlls in the ... [More] application path on startup. This is done in Utilities.DataTypes.ExtensionMethods.ReflectionExtensions.LoadAssemblies. The Problem is, that there can be dlls in the Application Path that are no .NET dlls. I use for example List and Label (a Report Engine like Crytal Reports). This Report Engine has one .NET assembly and a bunch of (com?) dlls. If you try to load such a dll an exception is thrown (BadImageFormatException). I think you must do some sort of exception handling in this Extension Method ;-) Another example is SevenZipSharp. Its a Wrapper around 7Zip. With this one you can easily test it. Just copy the 7z.dll into your test folder.... Maybe something like this: public static IEnumerable<Assembly> LoadAssemblies(this DirectoryInfo Directory, bool Recursive = false) { foreach (FileInfo File in Directory.GetFiles("*.dll", Recursive ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly)) { Assembly assembly = LoadAssembly(File.FullName); if (assembly != null) yield return assembly; } } private static Assembly LoadAssembly(string FileName) { AssemblyName assemblyName = null; try { assemblyName = AssemblyName.GetAssemblyName(FileName); return assemblyName.Load(); } catch (Exception) { return null; } } Michael [Less]
Posted over 11 years ago by James Craig
Finished moving over encryption.
Posted over 11 years ago by James Craig
Some more encryption updates.
Posted over 11 years ago by James Craig
Moved over compression and in the process of moving over encryption.
Posted over 11 years ago by James Craig
Updated some of the conversion stuff along with adding a number of file format bits. Excel, INI, VCalendar, VCard, Delimited files, Fixed length, and RSS have been brought over. Other file formats probably will not due to better alternatives being available.
Posted over 11 years ago by James Craig
Finished basics of Dynamo class and Updated some of the manager classes from IO.
Posted over 11 years ago by James Craig