You can use Format directly on a value, but if I understand your question
correctly, you'll want to add a handler for the .Format and .Parse events.
This explains it pretty well but let me know if you have any problems.
http://msdn.microsoft.com/library/de...ntexttopic.asp
--
W.G. Ryan MVP Windows - Embedded
Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let Microsoft know!
https://www.windowsembeddedeval.com/...ity/newsgroups
"Graham Blandford" <gr**************@sympatico.ca> wrote in message
news:Ux********************@news20.bellglobal.com. ..
Hi all,
Can anyone tell me how I go about setting a custom date format (or any
other format for that matter) to a textbox that has a databinding?
In VB6 I would do something like 'set text1.format = myformat', but that
isn;t a format property in VB.NET.
Any help would be gratefully received.
Thanks,
Graham