0

im getting this error messages "end of statement expected"

Public Class Form1 Inherits System.Windows.Forms.Form

that is what is causing it

Please help me fix it

thanks

Adam

Edited by planem997: n/a

4
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by G_Waddell
1

the Inherits statement have to be in a new line or delimited by a :
so either
Public Class Form1 : Inherits System.Windows.Forms.Form

or

Public Class Form1
Inherits System.Windows.Forms.Form

0

The Intellisense should be putting a wavy line under where your syntax is wrong or may lead to issues

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.