IDE :: How To Delete Control Disappeared From Form
Dec 8, 2011
For some reason a control on my form has disappeared. I can select it in the properties window and view all the properties (Visible = True) but I can't see it. It also doesn't appear when I run the form. How can I delete it, or bring it back?
View 1 Replies
ADVERTISEMENT
Sep 21, 2009
Greetings. I have a DataGridView control in a form, and as of a day ago, when I click on the control, I get *no* properties listed in the Properties pane of the IDE. The properties pane is totally blank. Neither properties nor events are visible. I have tried everything. Prior to this, the properties and events displayed normally.
Other controls' properties are displayed when I click on them, but not the DataGridView control. If, after clicking on my DataGridView control, I use the combo-box on the Properties pane to look at any other control's properties, they come right up. If I then select my control's name (DataGridView1) in the Properties pane combo-box, the IDE crashes completely and I have to restart.
I tried a repair re-installation. The same things happens.
I can set properties etc. programatically, but that sorta defeats the point of an IDE, not so?
View 5 Replies
Nov 23, 2011
Yesterday I added a new user control to a project I was working on: right click on the project name "Estimator", then add, then new item, then on the add new item dialog I typed the name of the user control, and I created my ButtonWithCheck.vb control.
My user control appeared on the toolbox, I inserted it in a form, used it, kept working on my project, and everything was fine. I saved and closed the solution.
Today I open the solution and I got an error: "Could not find type 'Estimator.ButtonWithCheck'. Please make sure..."
Why a project saved while working doesn't load?
View 5 Replies
Oct 19, 2010
The charting control has disappeared from my toolbox in VS2010. I know it was there when I upgraded to 2010 a few weeks ago. Both chart items are checked in the Choose Toolbox Items dialog but it doesn't show up in the toolbox. I'm pretty sure it was under the Data category. I tried resetting the toolbox but that didnt bring it back.
View 1 Replies
Nov 23, 2009
I was designing a Form in VS.NET but the form controls etc have dissappeared. I am left with a pnael which i can write code in but cant see the Form or its controls.
However - if i press the play button then i appears again but dissapears again when i close the form after playing it.
View 7 Replies
Nov 16, 2011
I don't know what happened I compiled the program and everything just disappeared from my main form....i can't name buttons the same thing that i recently had before everything disappeared so i know it still has to be there somewhere, i just don't know what to do.
View 8 Replies
Feb 14, 2010
I created a custom control and add it to a form programatically.
The user can add and move them all over the form.
The problem is when I want to clear the form of my user control I don't know how.
I created an array of my control called ctlCorkNotes
Say I create ctlCorkNotes(1) and now I want to delete it.
How do I do this so it is gone and would have to recreate it to show up again?
View 3 Replies
Jan 7, 2012
All the controls on one of my forms has vanished. I was attempting to doubleclick a radio button to get to the CheckedChange event, go some sort of COM error, then the next thing all my controls dissapeared off the form. I got some other strange things happening.[code]...
View 8 Replies
Jul 15, 2009
I went to go open up my form a minute ago and everything is missing!!! It is all there, but it is not. The form looks like a completely blank form with nothing on it. But all the controls are still there, somewhere, because if I click the dropdown at the top of the properties window, I still see all my controls, and my code does not have errors. It was working fine 10 minutes ago!!
View 16 Replies
Sep 1, 2010
Images have disappeared
View 4 Replies
May 18, 2010
I have a vb.net application, it is so far so good in high resolution. When I set the screen resolution of the machine to | 800 x 600, the header of the Save button has disappeared. If you look at the attached file, that means caption "F12" disappeared. I tested it in different machines, sometimes it is there but it may not be there in other machine.
I don't know whether it is the code error or machine environment setting up.
OS: WIN XP SP2.
View 2 Replies
Nov 24, 2009
I've just started using Visual Basic - I'm completely new to programming altogether and thought it might be a useful skill - and I've been slowly working my way through the tutorials - from 'Learn VB' in the Start Page - and now the MsgBox function has disappeared! I have no idea why, as I'm doing the same thing (I think) as I was always doing. New Project > Windows Forms Application > Right Click on 'Form 1' in the solutions box > Source Code. Anyhow; when I type MsgBox there is neither a dropdown box with that name (IDE I think it's called?) and it becomes underlined with a squiggly blue line. I seem to remember that, in the IDE box, there were several different types of logos next to each name, but now only the logo that shows a windows with what looks like green highlighter written on it (you can see it if you type in #If) appears. I've already restarted the computer (via the start menu).
ps. I'm Running 'Visual Basic Express 2008' - and downloaded that yesterday (23/11/09)
View 2 Replies
Sep 28, 2011
I am using VS2010 Pro and can no longer see the step into command buttons on the toolbar. That and the step out have disappeared. I know I had many more toolbar buttons across the top that I don't see now but the debug toolbar is checked but there isn't even the step into or step out options to add to the toolbar.
View 8 Replies
Mar 11, 2010
pressed (X) on all of the bars to the left?how do I re-enable them?
View 3 Replies
Dec 11, 2010
I have been using a tabcontrol with multiple tabpages. On one particular tabpage I accept a value into a textbox which has worked many times. For some reason the textbox has now disappeared {clumsy thumbs are always a possibility}. However, when I try to put a new textbox in its place I find the textbox name already exists. I look for the name in the components address box in the properties sections of the ide and it doesn't exist?
View 3 Replies
Nov 2, 2010
I created a Windows Forms Application and spent a lot of time putting it together. This is my first project like it, it works correctly and... I'm very happy with it. However, I didn't open Visual Studio for a couple weeks. And when I went back to open the project's .sln file to edit it again, I can no longer see the design view with the layout of the program and all its objects (textboxes, labels, buttons, etc).
When I open a brand new Windows Forms Application, I can Right click the Form1.vb file in the Solution Explorer and "View Designer." Here is a picture. Now, when I right click on the .vb file from my program, that option is not there. As you can see, my program has a lot of objects. So I'm getting a concerned that I did something wrong and will not be able to use the design mode any more.
View 3 Replies
Jan 12, 2012
We have this custom DateTimePicker in our project where you can alter the BackColor and so on. But normally, when you click on the month of a DateTimePicker, it gets highlighted and you can change it with for example the arrow buttons on your keyboard or by typing a different number. Now the problem is that in our DateTimePicker, the highlighting doesn't happen anymore. When you click on for example month, you'll be able to change month but you don't see wether you selected month or something else.
This is the code we have (it's old code from way before I even started working here):
Public Class ucBaseDateTimePicker
Inherits System.Windows.Forms.DateTimePicker
' true, when no date shall be displayed (empty DateTimePicker)
[Code]....
View 1 Replies
May 17, 2011
In the project I'm working on, I was editing a class and when I got done, I clicked save all. I moved on to my main form's designer. When it came up, the custom tab control I have on the form was blank. There used to be a ton of controls in it, so I am extremely confused about where everything went.I checked the properties window and it thinks everything is still there:ut when I check the Document Outline window, everything is gone. The tab control is still there, "AVERT Wizard", but all of it's child controls and tab pages are gone.
View 2 Replies
Mar 18, 2009
I don't think it's me, but maybe...
For Each ThisCtrl As Control in Me.TabControl1.Controls
TabControl1.TabPages.Remove(ThisCtrl)
Next
I run this code on a form close to reset the tabs to nothing (I load them dynamically) when I open this form again one tab is still there!
the funny thing is that I checked the count before it loads anymore items and it's still 0 tabs and after 3 are loaded (which could be any number) it says the count is 3.
but it shows four...I could only imagine that the problem is with microsoft..
View 4 Replies
Oct 22, 2010
After a System Restore, to just two days ago, VB 2008 Express Help is no longer available. I get the message "No Help topics have been saved." I downloaded the help file long ago but don't know where it resides.
View 2 Replies
Jun 12, 2011
I 'm trying to develop a database whereby all information input via vb 2008 will be saved into a microsoft access database. I've tried to populate a few information. The data was saved at that point, but when i reopen my system the next day, all the rows are gone. [code]
View 6 Replies
Feb 13, 2011
How can be find out which file is going to delete when, user provides command like DELETE or SHIFT + DELETE or by programmatically gives DELETE command. Well I know about FileSystemWatcher Class, but this class doesn't provide information before delete...
View 1 Replies
May 19, 2010
I am programming the Save File Dialog Box. I've got the basic code but after I save the text file that I created, the actual text itself seems to have disappeared when I open the file.
View 2 Replies
Apr 1, 2010
I'm trying to delete cookies from my webbrowser control with this code: Form1.WebBrowser1.Document.Cookie.Remove(0, (Form1.WebBrowser1.Document.Cookie.Count - 1))
I think this works (not sure how to check) but if my webbrowser doesn't have ANY cookies yet, it shows this error: System.ArgumentNullException was unhandled
So basically, If my code is correct, I need some sort of error handling to check that there are cookies (if that is the issue?). I tried this code but it shows the same error: If Form1.WebBrowser1.Document.Cookie.Count > 0 Then
Form1.WebBrowser1.Document.Cookie.Remove(0, (Form1.WebBrowser1.Document.Cookie.Count - 1)) End If
View 4 Replies
Nov 11, 2010
on my form I have few buttons. clicking on them by mouse makes cursor disappeard until I move it again. How to fix it?
View 1 Replies
Jul 12, 2009
I have a BindingNavigator1 binding to a datasoure. In default, we can add,delete, save data with BindingNavigator1 control. i want to know : how can i write more code to event click of "delete" button(or add , save button) in BindingNavigator1.
Example : i mean i want show messagebox yesno before delete operation is performed.
if result = yes then delete. i tried this but not yet :
[Code]...
View 7 Replies
Dec 9, 2011
I have a ListView and I have set up my Delete Link button. When I clicked Delete however I get "The ListView 'ListView' raised event ItemDeleting which wasn't handled." So I decided to try and implement the DeleteLinkButton_Click() and ListView_ItemDeleted() ... however I can't figure out how to identify which row I've selected for my DeleteLinkButton_Click().
I didn't bind my source through a control instead I used the following method.
[code]...
View 2 Replies
Sep 30, 2010
Delete the programming code for the deleted control.
View 3 Replies
Sep 1, 2009
I've tried the following code but it doesn't delete and no error message received.
Private Sub btnDelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDelete.Click
Dim Station As String = ""
For Each sItem As ListViewItem In lvList.SelectedItems
[code]....
View 1 Replies
Jan 5, 2010
I'm trying to use a DataGridView Control to Add/Edit/Delete records in a simple database
table.I used the wizard to create the datagridview and it created a dataset a bindingsource
and a tableadaptor.When i run my project, data that is in the database table is displayed
correctly, but I can't add/edit/delete. What events/actions do I need to perform to add
these capabilities?
View 2 Replies