|
-
Oct 12th, 2011, 02:42 PM
#1
Thread Starter
New Member
-
Oct 12th, 2011, 03:24 PM
#2
Re: Debugging Error :/
This happens immediately?
The first thing I would try doing is putting a breakpoint on the first line. I would bet that the breakpoint isn't reached. Most likely, you have not added a Sub New for the form, but there is one, though, it is just found in the .designer.vb file. Find that Sub New and put a breakpoint on the call to InitializeComponents. Even that may not be hit.
I believe this error is occuring very early. My two thoughts would be that it is happening as a result of setting some form level variables during initialization, or possibly as a result of some setting to a control property interacting with some event handler in a weird way. The former seems more reasonable, though. Do you have any form level variables? If so, are you setting them during initialization?
My usual boring signature: Nothing
 
-
Oct 12th, 2011, 03:43 PM
#3
Thread Starter
New Member
Re: Debugging Error :/
lmfao oh man u were right. it was the stupidest mistake
Public Class Form 1
Dim player1 as string = me.name1.text
as soon as you load the form there's no source for it so it crashed :P
Thanks a lot
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|