Results 1 to 4 of 4

Thread: *SOLVED* Changing a class name

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2003
    Location
    Sweden
    Posts
    22

    *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.

  2. #2
    Junior Member
    Join Date
    Apr 2003
    Posts
    18
    goto project properties and change the start object to the new class name.
    www.WinMgmt.com
    [email protected]

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    MyClass is reserved keyword , try MyClass1 .

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Mar 2003
    Location
    Sweden
    Posts
    22
    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
  •  



Click Here to Expand Forum to Full Width