Link to home
Start Free TrialLog in
Avatar of zillion_kamesh
zillion_kamesh

asked on

Win Forms from VS 2005 to VS 2010 Problem....

Hello Experts,

                 I'm working with Win forms using Visual Studio 2005 and code behind language is Visual Basic.My current project contains more than 450 forms.We were planning to migrate it from VS 2005 to VS 2010.So, I opened  my project with VS 2010.It had changed from framework 2.0 to framework 4.0. It builds and runs fine.

My Problem is that,

After  running my application . When I open any form it gives me an Exception System.outofmemoryexception...

If I clean my project It works fine...

What will I do for it?????

I'm googling in the internet... I had found lots of article... But no one is works for me...

Thanks in Advance
Avatar of ghayasurrehman
ghayasurrehman
Flag of Pakistan image

double check you have chosen Framework 4.0 or Compact Framework 4.0
Avatar of zillion_kamesh
zillion_kamesh

ASKER

I checked with .net framework 4.0 client profile and also Framework 4.0..
It gives me a same problem
Avatar of ina_don
Hi

Have you tried to establish how much resources you application is consuming when you run it and to see how well it releases the memory it uses when you close it? I think its best to start on the basic thing which is check how much ram you have left after running you application.

I once change an app done in VS2005 to VS 2008 or was it 2002 - 2008 but that left me with a problem with resources. I think at that time I'd used some legacy activeX controls and removing them resolved the problem and I had to and find alternative ways of perfoming the functions that the ocxs were.
ASKER CERTIFIED SOLUTION
Avatar of Blacklord_76
Blacklord_76

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial