Link to home
Start Free TrialLog in
Avatar of nsteele84
nsteele84

asked on

Problem with system.invalidoperationexception Win XP VB.net

Hi

I have a program written on a windows 7 machine with visual studio 2008 vb.net. It runs fine on any windows 7 machine but I get a system.invalidoperationexception when I try to run it on a windows xp machine. i have tried a couple of xp machines and they both give me the same error. Is there a way to trap this error so I can get more info? It appears to be thrown before the main form loads.

Thanks Nick Steele
ASKER CERTIFIED SOLUTION
Avatar of UnifiedIS
UnifiedIS

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
Avatar of nsteele84
nsteele84

ASKER

Hi

I have attached a screenshot of the rror not sure if that helps. I will try to pin down the area of th eproblem. User generated image
Still dont know what caused the problem. I traced it down to the main form which I believe someshow had become corrupted. I created a new main form with all th eold controls and it now works.