Solved

VB freezes while compiling

Posted on 2009-07-02
4
190 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now