Changing a forms name

J

Jeff Johnson [MVP: VB]

Is it possible to have a fix or an update to VS .NET 2003 for this problem?
I just work a lot with students and show them how to work in VS so I'm
changing the form's names a lot, and I alwase have to change the startup form.
It would be much easier to work with if this problem would some how
resolved.

I doubt MS will "fix" it in existing version if Visual Studio. Perhaps a
macro or an add-in could be created, but that would probably be a lot more
trouble than it's worth. It's just one error. Teach your students how to
handle it.
 
H

Herfried K. Wagner [MVP]

* "Cor Ligthert said:
Try in VS IDE File->New->Project than opens a window choose Visual Basic
Projects and than Windows Application. Give the name for your application.

A wizard will than generate a complete project for you. (Such a thing is
called a wizard even if it is not named a wizard)

OK, I didn't consider that to be a wizard, I thought that's a
"template".
 
J

Jeff Johnson [MVP: VB]

OK, I didn't consider that to be a wizard, I thought that's a
"template".

I think someone needs to make a formal definition of "Wizard" as requiring
more than one "page" before it completes its job. I've never thought of the
New Project dialog as a wizard either.
 
T

Tom Spink

Does Visual Studio 2005 fixed this BUG?

I wouldn't call it a bug.... I've never in all my years had a problem with
this, i'd say if anything it's a slight inconvenience.

--
HTH,
-- Tom Spink, Über Geek

Woe be the day VBC.EXE says, "OrElse what?"

Please respond to the newsgroup,
so all can benefit
 
H

Herfried K. Wagner [MVP]

* =?Utf-8?B?QWxleCBMZXZp?= said:
Is it possible to have a fix or an update to VS .NET 2003 for this problem?

There is nothing to fix. This behavior is IMO "by design".
I just work a lot with students and show them how to work in VS so I'm
changing the form's names a lot, and I alwase have to change the startup
form.

OK, I understand that this is a very special situation, but I never had
a problem with that because you see an error in the tasklist and can
select the new startup form using an UI, so that's a pretty easy task.
 
H

Herfried K. Wagner [MVP]

* "Tom Spink said:
I wouldn't call it a bug.... I've never in all my years had a problem with
this, i'd say if anything it's a slight inconvenience.

The behavior changed in VB 2005. Renaming the /file/ will rename the class,
and renaming the class will cause VB to update the startup object.
 
H

Herfried K. Wagner [MVP]

* "Jeff Johnson said:
I think someone needs to make a formal definition of "Wizard" as requiring
more than one "page" before it completes its job. I've never thought of the
New Project dialog as a wizard either.

Wizards, IMO, have a certain look, there is a common set of buttons
("Next >", "Finish", ...). Still, there is kind of magic in how VS puts
together the project from the template ;-).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top