Monday, January 18, 2010

In vb.net (express edition), why the variable declarations for the form controls is not shown in the code?

What I mean for example is, why when you create a button from the toolbox, the button has a variable but is not reflected in the code?





I mean, if you create a button with name ';button1'; and in the code you type ';dim button1 as string';, you get message that is already declared but you do not see the declaration in the code.





Would be interesting for me to see answers for this.


Thanks in advance.In vb.net (express edition), why the variable declarations for the form controls is not shown in the code?
Well, I have the standard edition of VS2005, If your form is form1.vb, you also have a file form1.designer.vb. The button is there.In vb.net (express edition), why the variable declarations for the form controls is not shown in the code?
I rarely touch VB but this is something I stumbled upon before: rename the files to .txt or somehow read it as text and you'll see the entire codes; programming GUIs within same code are possible beginning Java and C#, VB and .Net version of it Microsoft would have you think there is no code required for its GUI portion.
  • topical cream
  • No comments:

    Post a Comment