I am maintaining a VB6 application and it was working fine until this morning when a System.OutOfMemoryException gets thrown. Here is the scenario:
The EXE is a VB6 application that utilizes a .NET 2.0 DLL for certain methods (validation methods mainly).
I run into this problem when it calls two of the validation methods in the same if statement as such:
If oCommon.IsHWHeat(Model) And oCommon.IsEHeat(Model) then ...
But if I call each validation method individually it has no issue.
Not sure how to get this working.
Thanks