Big Boabby
Newcomer
Hi guys,
Here I am a VB6 user who is trying to break into .net. I have gone back to the drawing board and am trying to use a tutorial that I have.
It is so basic but It doesn' work. I have to create a new project, right click on the Form1.vb[Design] and inset the following code in under " 'Add any initialisation after the InitializeComponent() call"
Form1.text = "Hello World"
The trouble is that when I type form1. , I do not get the option of changing the Text property. When I type it manually, the wavy line is shown with the tool tip "Reference to a non-shared member requires an object reference"
What am I doing wrong guys? I have followed the tutorial to the letter and I can't even change the form caption (now known as text) unless I do it via the properties window?
Oh the shame of it!!!!!!!!!!!!!!
Cheers
Here I am a VB6 user who is trying to break into .net. I have gone back to the drawing board and am trying to use a tutorial that I have.
It is so basic but It doesn' work. I have to create a new project, right click on the Form1.vb[Design] and inset the following code in under " 'Add any initialisation after the InitializeComponent() call"
Form1.text = "Hello World"
The trouble is that when I type form1. , I do not get the option of changing the Text property. When I type it manually, the wavy line is shown with the tool tip "Reference to a non-shared member requires an object reference"
What am I doing wrong guys? I have followed the tutorial to the letter and I can't even change the form caption (now known as text) unless I do it via the properties window?
Oh the shame of it!!!!!!!!!!!!!!
Cheers