Link to home
Start Free TrialLog in
Avatar of jmoran18251
jmoran18251

asked on

VB freezes while compiling

I have a project that I have compiled many times in the past without incident that is now freezing when I try to recompile it.  None of the code has changed.  I can start the program from VB without any problems.  I tried 'Start with Full Compile' and that also runs fine.  I also tried starting a new project and readding all the forms, modules, etc to that and saving it... same problem.  It goes as far as creating all the .obj files, then nothing.
I can compile other projects without any problems, so I am assuming the problem is within one of the objects, but how do I find out where?  Help please!
Avatar of jmoran18251
jmoran18251

ASKER

By removing one object at a time and trying to compile the project, I have narrowed the problem down to one of the forms, but I still don't know what the issue is.  It is certainly the largest form in the project... maxed out on components, but it has always compiled without any problems.
ASKER CERTIFIED SOLUTION
Avatar of alainbryden
alainbryden
Flag of Canada image

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
Not sure what the issue was, but after giving up for the day and trying to build the project again the next day... it worked.  Thanks for the input.
You might want to check for a
'If (Today() = "Tuesday") Then Throw Error()' :p

Glad it worked out for you.

--
Alain