|
-
Apr 29th, 2003, 08:17 AM
#1
Thread Starter
Junior Member
*SOLVED* Changing a class name
Hi there.
I want to change the name of my class from Form1 to myClass.
But it won't work... The build unsuceed with the explaination of: Sub Main was not found in WinApp.Form1 (WinApp being the project name)
what do I need to do in order to get this to work?
Thx.
Last edited by Zcumbag; Apr 29th, 2003 at 08:43 AM.
-
Apr 29th, 2003, 08:30 AM
#2
Junior Member
goto project properties and change the start object to the new class name.
-
Apr 29th, 2003, 08:33 AM
#3
Sleep mode
MyClass is reserved keyword , try MyClass1 .
-
Apr 29th, 2003, 08:43 AM
#4
Thread Starter
Junior Member
Thanks...
works great!
PS. I wasn't actually calling the class 'MyClass'
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|