Solved

I drop textboxes on my form but when I run it to make sure they are in the right place, all I get is a blank form.

Posted on 2006-10-28
10
227 Views
Last Modified: 2010-04-23
I have VS2005. I am building an ADO app that's connected to a remote server. All of a sudden I have developed a problem I can't seem to solve. I drop textboxes, bound listboxes and other objects on the form in the design window. Whe I run it to check my placement of all the objects, all I get is a blank form. The form loads with my title text but none of the textboxes, listboxes or any objects load. What did I do wrong.  I have run the the repair installation but this didn't do anything.

Thanks
0
Comment
Question by:grouchyfd
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 3

Expert Comment

by:JeffvClayton
ID: 17828206
Have you checked the visible property of the form and the objects?
0
 
LVL 3

Expert Comment

by:JeffvClayton
ID: 17828222
Or the Opacity of the form
0
 

Author Comment

by:grouchyfd
ID: 17828624
Opacity is set to 100%. I don't see any visibility property for the form.
0
 

Author Comment

by:grouchyfd
ID: 17828626
The visibility property for the controls is set to TRUE.
0
 
LVL 13

Expert Comment

by:newyuppie
ID: 17828653
how are you opening the form, where and whats the call? maybe you are displaying the wrong form?
just guessing here
NY
0
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.

 
LVL 62

Accepted Solution

by:
Fernando Soto earned 500 total points
ID: 17828940
Try going to the Build menu item and select the menu item Clean <Project Name>. Then recompile and run the program.

Fernando
0
 

Author Comment

by:grouchyfd
ID: 17829071
Thank you FernandoSoto. I had to hunt down and then add the Clean Solution from the Add Buttons and Toolbars of the Build menu. Once I cleaned the solution it worked and loaded fine. What happens when it cleans the solution? I must have hit some control by mistake.
0
 
LVL 62

Expert Comment

by:Fernando Soto
ID: 17829130
Hi grouchyfd;

To your question, "What happens when it cleans the solution?". For some reason some files in the bin and obj directories that get used to build the executable gets corrupted. In VS 2003 Microsoft did not have this option in the IDE and so the developer had to clean out the bin and obj directories. But this at times would cause a problem if the developer placed files in there directories and then deleted the directories and deleted those files as well. In VS 2005 Microsoft added the option Clean in the Build menu to delete those files that cause a problem like the one you had experienced.

Fernando
0
 

Author Comment

by:grouchyfd
ID: 17829261
Thank you for your knowledge and help.
0
 
LVL 62

Expert Comment

by:Fernando Soto
ID: 17829284
No problem. Always glad to help. ;=)
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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

910 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

21 Experts available now in Live!

Get 1:1 Help Now