Hi,

I have three text boxes on my form as following:

1) txtTelephone
2) txtDate
3) txtPrice

What actually I need to know is, how the text box automatically change the values to the below format:

txtTelephone : If I enter 0403507624 it should change automatically the entered values to this format 040 350 7624

txtDate : If I enter 28042010 then it should be changed to 28-APR-2010

txtPrice : If I enter 513458 then it should be changed to 513,458.00 automatically.

So, what code should I write to achieve this problem?

Thanks.

Recommended Answers

All 4 Replies

im newbie too^^

search online "Visual Basic String manipulation" should have plenty of example, but dont noe have quick way to achive it or not:)

just to say HI^^

im newbie too^^

just to say HI^^

Any further help from anyone, please.

I would like to use some code instead. I hope there is some code to achieve this task.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.