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

Public Class Form1
Inherits System.Windows.Forms.Form

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.