Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't Open forms (frm Files)

Status
Not open for further replies.

jpreciado

MIS
Feb 7, 2004
36
MX
I can open the code of any form but I can't open its design. It happens in any project is already built. New Projects work fine.

I uninstalled VB 6 and reinstalled it but it didn't work.

I copied some of the projects to another computer and it worked fine in the other one.

¿Does anyone know what is wrong?

thanks in advanced

 
Sometimes the .frx files get corrupted.

Open the form in the VB IDE (design mode if you can, otherwise code mode), and delete the .frx file. Immediately save the form in the IDE, and the .frx file will be recreated. Afterwards, the graphical part of your controls may not be exactly as you like, but at least you'll be able to open the designer to correct the problems.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
BTW, this is a good reason to use a source code control system. If you have a MSDN subscription, you get VSS for free. It sucks as a SCM tool, but the price is right.

If you don't have a MSDN subscription, then I recommend Subversion which is a very good free SCM system. It's command-line based (actually a plus, as that means it can be scripted), but there are some more free tools available that integrate it into the VB IDE or the Windows Explorer.

If you've never used a SCM tool before, a good book is
Software Configuration Management Patterns: Effective Teamwork, Practical Integration
ISBN: 0201741172

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top