Hi,
I m new to vb.net. i need help.
How can I increment a number in a textbox everytime when the form is loaded?
Suppose Customer_id
I want that first time when the form gets loaded Customer_id should appear in the textbox as CDD01.
Second time it should appear as CDD02.
Third time CDD03 and vice versa.
Please help.

You are missinjg some data here:

Is this the main form of a project?

Are you counting times the program has run, or times the form is loaded during a single run?

Are you connecting to a database where a value could be saved?

Are you counting for one instance of a program or for multiple instances on multiple machines on multiple networks?

You get the idea, we need you to be specific as to what you are trying to do.

using database?what a database?

dis is what i want..same condition.
did u get the solution??plz i need ur help..

Hi,
I m new to vb.net. i need help.
How can I increment a number in a textbox everytime when the form is loaded?
Suppose Customer_id
I want that first time when the form gets loaded Customer_id should appear in the textbox as CDD01.
Second time it should appear as CDD02.
Third time CDD03 and vice versa.
Please help.

dis is what i want..same condition
did u get the solution??plz i need ur help..