?
Solved

VB freezes while compiling

Posted on 2009-07-02
4
Medium Priority
?
197 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 2000 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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

765 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