![enter image description here](https://i.stack.imgur.com/pGNKO.jpg)  

hope you can see what am I missing.   

this error happened after I tried to get this variable from a public class globalv

```
public shared ip() as string

```

I deleted the class and I still get this error..

I do want my variable to be "global" so I will not make a new instance every time I need it. So I tried putting it at the top to make it global in the form.

```
Public Class Form1
#Region "variables"
    Delegate Sub SetTextCallback(ByVal [text] As String)
    Dim x As New SetTextCallback(AddressOf ReceivedText)
    Dim stringOfRtb As String = rtb.Text
    Dim incoming() As String

    Dim ip() As String
#End Region

Private Sub btnSaveIP_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSaveIP.Click
    incoming = stringOfRtb.Split(ControlChars.CrLf.ToCharArray) ''vcrlf splitter

    ip = incoming(3).Split(":"c)
    txtSend.Text = "set ip local " & ip(1)
    End sub

Private Sub btnSettings_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSettings.Click
    ip = incoming(3).Split("="c)
    txtIP.Text = ip(1)
    End sub

```

Can you guys see what's wrong? It's been working before this.. :(