i am new to these concepts like "breakpoints" and "exceptions" in programming. i need help with a "exception." i have no build errors in my code, but it wont launch the program for some reason. please help!
here is a screenshot:
i am new to these concepts like "breakpoints" and "exceptions" in programming. i need help with a "exception." i have no build errors in my code, but it wont launch the program for some reason. please help!
here is a screenshot:
I suggest that you start somewhere like this topic.
Put a breakpoint in your Form1_Load method somewhere near to where you define ipPort and step through the code. The exception is telling you that you're trying to use that variable before its been assigned.
i put a breakpoint near the 'form1' loading function, but it still did not work. but, IpPort is a part of NUget application for visual studio. also known as "supersimpleTCP." also, one more thing. IpPort i am pretty sure already has a defined value in the package.
Hi @DanielShepherd-8507,
In order to find the cause of the problem more accurately, please provide the code in your Form1_Load to reproduce the problem.
Best Regards,
Daniel Zhang
9 people are following this question.