From: Clax on
Hi,
i want to display a value of a variabile, type into a textbox.

for example

num=1234
varx=763


if i type in textbox "num" i want to dispay 1234

if i type in textbox "varx" i want to display 763


who can i help????


From: JR on
On 26 mei, 11:57, Clax <claxc...(a)gmail.com> wrote:
> Hi,
> i want to display a value of a variabile, type into a textbox.
>
> for example
>
> num=1234
> varx=763
>
> if i type in textbox "num" i want to dispay 1234
>
> if i type in textbox "varx" i want to display 763
>
> who can i help????

walk trou the controls collection and if found use the text proprety

Jan
From: Clax on
On May 26, 12:30 pm, JR <jan.sch...(a)gmail.com> wrote:
> On 26 mei, 11:57, Clax <claxc...(a)gmail.com> wrote:
>
> > Hi,
> > i want to display a value of a variabile, type into a textbox.
>
> > for example
>
> > num=1234
> > varx=763
>
> > if i type in textbox "num" i want to dispay 1234
>
> > if i type in textbox "varx" i want to display 763
>
> > who can i help????
>
> walk trou the controls collection and if found use the text proprety
>
> Jan

can you explain more about this
From: Herfried K. Wagner [MVP] on
Am 26.05.2010 11:57, schrieb Clax:
> i want to display a value of a variabile, type into a textbox.
>
> for example
>
> num=1234
> varx=763
>
>
> if i type in textbox "num" i want to dispay 1234
>
> if i type in textbox "varx" i want to display 763
>
>
> who can i help????

That's not possible because the names of local variables are not
available at runtime. You may, however, want to store the values in a
dictionary/collection object and use the variable name as key.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
From: Armin Zingler on
Am 26.05.2010 11:57, schrieb Clax:
> Hi,
> i want to display a value of a variabile, type into a textbox.
>
> for example
>
> num=1234
> varx=763
>
>
> if i type in textbox "num" i want to dispay 1234
>
> if i type in textbox "varx" i want to display 763
>
>
> who can i help????

http://en.wikipedia.org/wiki/Compiler


--
Armin