towguy
Programmer
- Jun 22, 2006
- 9
hi,
I am using VS2003 on WinXP.
I made a custom textbox control (Usercontrol) and pasted it on form. but when i reopen form in design mode after running or closing form that control disappears.and an error message is shown as
"The variable 'txtCurrentAddress' is either undeclared or was never assigned."
(txtCurrentAddress is control name)
but all designer generated (declaration and assigning) code is still there. and I didn't touch that code.
I tried same procedure on different forms but faced same error.
I am using VS2003 on WinXP.
I made a custom textbox control (Usercontrol) and pasted it on form. but when i reopen form in design mode after running or closing form that control disappears.and an error message is shown as
"The variable 'txtCurrentAddress' is either undeclared or was never assigned."
(txtCurrentAddress is control name)
but all designer generated (declaration and assigning) code is still there. and I didn't touch that code.
I tried same procedure on different forms but faced same error.