Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't remove form from project.

Status
Not open for further replies.

Wayfarin

Programmer
Mar 21, 2005
2
US
I have started a new project that I have added a few forms too. I wanted to remove one of the forms but when I right-clicked on the form to remove it there was no option to do so. I have options to "View Code", "View Object", "Properties", "Dockable", "Hide" and "Publish Component". I have also run into a situation where when I click on a given form the dark blue background color that is on the last form I selected does not appear on the form I just selected. It briefly goes away from the last form as though it was going to highlight the form I selected but then bounces back to the form it was on originally. I do get a focus rectangle around the form I selected but the background color remains white.
 
with the form highlighted, click on Project and you should see remove form in there.

_______
I love small animals, especially with a good brown gravy....
 
To remove the form first select it then goto the Project menu and select Remove YourFormName.frm. As far as the other focus problem I'm not sure, if you start a new project and add a few forms does it happen there. If so give the exact steps to try to reproduce the problem.



Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'.
 
Wayfarin - What I do to delete any unwanted Forms, DataReports, etc. from my vbp project is to right-click the item in the Project Window and select remove. I then have to open the directory folder containing my vbp file and all of its related files and delete them from the folder. This removes any trace of the unwanted files.

Deleting them from the folder is a bit tricky, however. Depending on the item (Form, DataReport, etc.); there is more than just a single file to delete. For example, to delete a "Form" file from the folder, you need to delete both the "frm" and "frx" versions of the file. Do this, of course, AFTER deleting the Form file from your vbp Project Window. This will delete the unwanted Form from you VB Project and its Directory Folder. Just removing it from your vbp Project file doesn't remove it from the folder.

Hope this helps! Hiccup
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top