473,405 Members | 2,279 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Why can't I add a new Form?

Hi!

I did add a new Windows Form to my project. Then I removed it and now I'd
like to add an other form with the same name that I previously removed from
the project. When I try this I get an error message saying that the file
already exists and that I have to enter a unique name for the form. I have
looked and the file doesn't exists. Is it possible to remove the name from
some file manually or what should I do?

Thanks!

/Henke
Jul 19 '05 #1
4 1575
Havn't really a clue, but try shutting down the IDE, go into your project
dir ensure the file isn't there (which you say you've done), then delete the
..ncb file. (which cures several problems with controls disappearing off
forms).

Hope that helps, (don't blame me though if all goes wrong ha ha)

rollasoc...
"Henke" <he********@hotmail.com> wrote in message
news:eE**************@TK2MSFTNGP09.phx.gbl...
Hi!

I did add a new Windows Form to my project. Then I removed it and now I'd
like to add an other form with the same name that I previously removed from the project. When I try this I get an error message saying that the file
already exists and that I have to enter a unique name for the form. I have
looked and the file doesn't exists. Is it possible to remove the name from
some file manually or what should I do?

Thanks!

/Henke

Jul 19 '05 #2
I didn't know there was any ncb-files with Visual Studio .NET, are there?
Anyway, I do have some problems with disappearing controls...

/Henke
"rollasoc" <ho*****@hotmail.com> skrev i meddelandet
news:uR**************@TK2MSFTNGP12.phx.gbl...
Havn't really a clue, but try shutting down the IDE, go into your project
dir ensure the file isn't there (which you say you've done), then delete the .ncb file. (which cures several problems with controls disappearing off
forms).

Hope that helps, (don't blame me though if all goes wrong ha ha)

rollasoc...
"Henke" <he********@hotmail.com> wrote in message
news:eE**************@TK2MSFTNGP09.phx.gbl...
Hi!

I did add a new Windows Form to my project. Then I removed it and now I'd like to add an other form with the same name that I previously removed

from
the project. When I try this I get an error message saying that the file
already exists and that I have to enter a unique name for the form. I have looked and the file doesn't exists. Is it possible to remove the name from some file manually or what should I do?

Thanks!

/Henke


Jul 19 '05 #3
Hello Henke,
I did add a new Windows Form to my project. Then I removed it
and now I'd like to add an other form with the same name that
I previously removed from the project. When I try this I get
an error message saying that the file already exists and that


There are two ways to remove a file from a project. When you right
click on a file in the solution explorer you will see an 'Exclude From
Project' menu item and a 'Delete' menu item. I suspect you clicked on
the 'Exclude From Project' item, which will remove the file from the
project, but not actually delete it.

Hope this helps,
Len
Jul 19 '05 #4
Thanks Len, but I did click on Delete, not Exclude and if I look in the
directory the file is deleted. So I still can't add a form with the same
name...
/Henke

"Len Weaver" <le********@meritsoft.net> skrev i meddelandet
news:uz**************@tk2msftngp13.phx.gbl...
Hello Henke,
I did add a new Windows Form to my project. Then I removed it
and now I'd like to add an other form with the same name that
I previously removed from the project. When I try this I get
an error message saying that the file already exists and that


There are two ways to remove a file from a project. When you right
click on a file in the solution explorer you will see an 'Exclude From
Project' menu item and a 'Delete' menu item. I suspect you clicked on
the 'Exclude From Project' item, which will remove the file from the
project, but not actually delete it.

Hope this helps,
Len

Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: charlie_M | last post by:
I figured out via various help from this forum... EXAMPLE: onClick="document.forms.MYBUTTON.value='SIMPLE';document.forms.submit()" In my CGI I see "MYBUTTON" = "SIMPLE" and this works...
7
by: a s i l b a . p t | last post by:
Can someone please explain why the following code raises error 2450?... Note: frmTest is a simple form with code behind form so it can be instantiated through the form's class module. Public...
7
by: Megan | last post by:
Hi everybody- I inherited a database that somehow uses a bound combo box as a record selector. Let me give you some background. The form is based on data from 2 tables. The first table, Person,...
6
by: Gary Miller | last post by:
Does anyone know how to detect a modeless form on closing by the form that invoked the modeless form? form.Show();
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
5
by: garyusenet | last post by:
I understand that Point is an object used for storing co-ordinates, such as mouse location. I can't figure out what the e's do in the above example can someone explain please. Thanks, Gary.
9
by: Piccolo Pete | last post by:
This is a bit "wordy", but here is the scoop. I'm using Microsoft Visual Studio for VC++ in Windows 2000. I made an application which had no form in it. So when I ran the application, I just...
3
by: Bill | last post by:
I'm using the POST method to submit a simple form html page with yes/no and checkbox fields to an asp response page which stores the values in a new dim string, then uses it to build a new table...
1
by: John Phelan-Cummings | last post by:
When I add the name of a new individual in a, bound form, it will not display that person’s name in a label control of a second unbound form. I have a scheduling program that I am working on. ...
19
by: creative1 | last post by:
hi I am in strange problem. I have javascript for for validation. If I have any entry invalid it prompts me to corrrect it. All checks I have works fine. However, form does not response when there...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.