I'm working on a homework in which i need to create a Pizza order form. I've created the form along with the code but when i debug it, it gives me error. Errors below:(i've attached my code)
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(113) : error BC30451: Name 'txtSurname' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(118) : error BC30451: Name 'txtSurname' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(119) : error BC30451: Name 'txtForename' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(120) : error BC30451: Name 'txtAddress' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(121) : error BC30451: Name 'txtAddress02' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(122) : error BC30451: Name 'txtTown' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(123) : error BC30451: Name 'txtPostcode' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(131) : error BC30451: Name 'txtSurname' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(134) : error BC30451: Name 'txtAddress' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(137) : error BC30451: Name 'txtPostcode' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(151) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(152) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(154) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(156) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(158) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(187) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(189) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(189) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(257) : warning BC42105: Function 'addDrinks' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(272) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(274) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(275) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(276) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(276) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(277) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(277) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(282) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(283) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(284) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(285) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(289) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(291) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(292) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(293) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(293) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(294) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(294) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(299) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(300) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(301) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(302) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(363) : error BC30451: Name 'txtSurname' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(364) : error BC30451: Name 'txtForename' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(365) : error BC30451: Name 'txtAddress' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(366) : error BC30451: Name 'txtAddress02' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(367) : error BC30451: Name 'txtTown' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(368) : error BC30451: Name 'txtPostcode' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(385) : error BC30451: Name 'txtSurname' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(386) : error BC30451: Name 'txtForename' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(387) : error BC30451: Name 'txtAddress' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(388) : error BC30451: Name 'txtAddress02' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(389) : error BC30451: Name 'txtTown' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(390) : error BC30451: Name 'txtPostcode' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(396) : error BC30451: Name 'txtSurname' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(397) : error BC30451: Name 'txtForename' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(398) : error BC30451: Name 'txtAddress' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(399) : error BC30451: Name 'txtAddress02' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(400) : error BC30451: Name 'txtTown' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(401) : error BC30451: Name 'txtPostcode' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(414) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(415) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(416) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(418) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(419) : error BC30451: Name 'i' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(451) : error BC30451: Name 'txtSurname' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(452) : error BC30451: Name 'txtForename' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(452) : error BC30451: Name 'txtAddress' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(453) : error BC30451: Name 'txtAddress02' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(453) : error BC30451: Name 'txtTown' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(454) : error BC30451: Name 'txtPostcode' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(500) : error BC30451: Name 'txtForename' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(500) : error BC30451: Name 'txtSurname' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(502) : error BC30451: Name 'txtAddress' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(505) : error BC30451: Name 'txtAddress02' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(506) : error BC30451: Name 'txtAddress02' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(510) : error BC30451: Name 'txtTown' is not declared.
C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(510) : error BC30451: Name 'txtPostcode' is not declared.