Solved

VB freezes while compiling

Posted on 2009-07-02
4
195 Views
Last Modified: 2012-05-07
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!
0
Comment
Question by:jmoran18251
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Author Comment

by:jmoran18251
ID: 24767170
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.
0
 
LVL 20

Accepted Solution

by:
alainbryden earned 500 total points
ID: 24794615
Can you give more details for the form? Maybe provide the hidden .Designer.VB file associated with that form. It could be useful in determining elements that might cause hangs (for instance, an element that is tied to a network resource that is no longer available.)

--
Alain
0
 

Author Closing Comment

by:jmoran18251
ID: 31599341
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.
0
 
LVL 20

Expert Comment

by:alainbryden
ID: 24804886
You might want to check for a
'If (Today() = "Tuesday") Then Throw Error()' :p

Glad it worked out for you.

--
Alain
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

697 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question