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
213 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
Comment Utility
Have you checked the visible property of the form and the objects?
0
 
LVL 3

Expert Comment

by:JeffvClayton
Comment Utility
Or the Opacity of the form
0
 

Author Comment

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

Author Comment

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

Expert Comment

by:newyuppie
Comment Utility
how are you opening the form, where and whats the call? maybe you are displaying the wrong form?
just guessing here
NY
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 62

Accepted Solution

by:
Fernando Soto earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thank you for your knowledge and help.
0
 
LVL 62

Expert Comment

by:Fernando Soto
Comment Utility
No problem. Always glad to help. ;=)
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Copy Data from one datatable to another datatable. 8 53
SQL Server 2008 Error 7 54
GridDataView 6 44
Setting location of a form 4 22
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

11 Experts available now in Live!

Get 1:1 Help Now