Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My problem is pretty much as the question goes.... I wish to alter my program by adding a tree view and some code. It does not matter what object I try to add (eg. textbox, listbox, checkbox w.e) I cannot see the object when the program loads into the debugger. One point to my probelm if it helps in solving my problem is that my existing objects are in a tab control.... if that makes any difference idk. I hope its a small mistake or user error as I have spent allot of time making my program and hope not to have lost it :(
Posted
Comments
William Winner 10-Jan-11 12:46pm    
Are you using Visual Studio? And are you talking VB.Net or VB6 or something else?

If you're using Visual Studio and VB.Net, go into your Build Menu.

Then, go to Configuration Manager.

Then, make sure that the Build checkbox is checked for the project that contains the form. If it's not, then when you click the Run button or Start Debugging, it won't show up.

You can also go to the Build menu and click Rebuild <project name="">.
 
Share this answer
 
Comments
Аslam Iqbal 10-Jan-11 13:57pm    
And also set your newly created object's property visible=true & set position to viewable position of the form. Don't forget to call object.BringToFront.
Dale 2012 11-Jan-11 10:31am    
worked a treat........ I just rebuilt the project and launched it and my problem has been fixed. Thank you for that!!
If you are using Visual Studio, got the UI View and double click the listbox etc that you want to see.
It should then take you to the code and display the object.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900