First one is this error, probably really simple to fix: "Reference to a non-shared member requires an object reference"
I get it when I try to remove an item in a list
At the top of the code:
vb.net Code:
Public shotList As New List(Of Shot) Public shotIndex As Int32
Then in my structure:
vb.net Code:
If life >= distance Then shotList.RemoveAt(shotIndex) End If
The second one is a bit weirder, I have a variable that doesn't want to me altered. http://www.vbforums.com/showpost.php...5&postcount=11
Any help would be greatly appreciated




Reply With Quote