I created a form named "login". I then renamed it to "frmLogin" and I can
see in the properties that the file name was changed to "frmLogin.vb" but in
my code, when I refer to "frmLogin" I get the squiggles indicating that
object does not exist but "login" does?
How can I get VSNET 2003 to "see" the renamed object? I am using VB.NET code
as follows:
=============================
Dim frmLoginI As New frmLogin '<=== Fails
Dim frmLoginI As New login ' <== Works?
Wayne
You renamed the file. This does not rename the class name. You need to go
into the .vb file and change the class name.
Lloyd Sheen
> I created a form named "login". I then renamed it to "frmLogin" and I can
> see in the properties that the file name was changed to "frmLogin.vb" but in
[quoted text clipped - 9 lines]
>
> Wayne
Wayne Wengert - 26 Aug 2004 03:17 GMT
Thanks.... That took care of it. I hope I remember that for the future.
Wayne
> You renamed the file. This does not rename the class name. You need to go
> into the .vb file and change the class name.
[quoted text clipped - 16 lines]
> >
> > Wayne