Shandy's Blog

Where Andrew Sutton, aka Shandy rants and rambles on as the fancy takes him

This blog hosted by:
http://blogs.vbcity.com      
  Home :: Syndication  :: Login

My name is Andrew Sutton, aka Shandy.

I am currently living and working in the UK within the garment industry as an IT specialist. This blog contains mainly IT related issues.

I was a Microsoft VB MVP for a couple of years (Apr 2004-Mar 2006) and was a vbCityLeader between April 2003 and June 2007.

If you are looking for my Sri Lanka or Morocco experiences check out Shandy's Sri Lanka Blog or Shandy's Morocco Blog. My personal (Non IT) blog is now at Shandy's Place

MarApril 2005May
SMTWTFS
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

Articles

Archives

Topics

Image Galleries

.NET

Blogs I Read

Others

VB.Classic

Sunday, April 17, 2005 #

This problem has been ongoing for over about a week now and although I have a workaround I don't have a proper fix. What is happening is that when I try and add a form (or component) to an existing form I get the error

Not the most helpful error ever put out by Microsoft ;-) Looking this up on the internet revealed a horror story of largely unsolved problems ending in a re-install of VS.NET. I really didn't want to go there. The main links I looked at were:

I can't say re-installing VS was top of my Want To Do List so I managed to come up with a compromise.
  1. Create a new Windows Forms project.
  2. Save the form created by this project into a common folder
  3. Add this form into any new projects that require a form adding
  4. Save the added form into the current project folder.

At least this means I can continue to develop VS.NET windows forms projects without having to re-install VS.NET. If anyone has a permanent fix please let me know !

EDIT: After posting a link from the vbCity thread back to here with my solution, GP, posted back with a solution so cunning I could clean my teeth with it :D Why not just add a class to my projects (which works) and use the

Inherits Form
statement? The class shows up in the Solutions list as a form and can be coded as such. Many thanks George.

posted @ 1:28 AM