Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > need help with custom control
 

need help with custom control

hi all,

i created a custom control i call DateTimeTextBox. i've added a couple of custom properties listed below.

FormatMask - format mask of the date value.
Value - the actual value of the date. bindable.

the Text property is where the formatted value of the date is shown.

the problem i'm having right now is that whenever i add a new record, the Textbox.Text value remains to whatever it had last.

can someone help me with this?

i've uploaded the zip file here

http://www.vbdotnetforums.com/attachments/windows-forms/2057d1239714959-need-help-custom-control-datetimetextbox.zip

thanks
extreme-paranoia  Tuesday, April 14, 2009 1:20 PM
Hi Paranoia,

I have tried to download the zip file from the link you provided, but unfortunately, the vbdotnetforums web site said "Invalid Attachment specified".

Could you please send the zip file to me directly? My email address is v-lliu@microsoft.com.

Thanks,
Linda Liu
Linda Liu  Thursday, April 16, 2009 7:00 AM
hi,

i've sent an email to the mentioned email address.

thanks.
extreme-paranoia  Sunday, April 19, 2009 12:51 PM

Hi Paranoia,

Thank you for your sample project. Unfortunately, the attachment was deleted by our mail sever automatically. Please delete the .exe files from the sample project and send the zip again to me.

Sincerely,
Linda Liu

Linda Liu  Monday, April 20, 2009 3:36 AM
hi,

i have deleted all the exe file i could find and zipped the project again. i have sent you the new zip file.

thanks.
extreme-paranoia  Monday, April 20, 2009 6:16 AM
hi i wann DateTimeTextBox control .. can u mail me this control
plz help me ........

my id is gkachadiya@yahoo.com
gkachadiya  Friday, July 03, 2009 8:19 AM
hi,

i have created a new thread here but regarding the same topic.

http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/ec12d907-621a-4dc7-be3e-b5fede79cdca

please any help will be appreciated.

thanks.
extreme-paranoia  Thursday, August 20, 2009 7:53 AM

You can use google to search for other answers

Custom Search

More Threads

• DataGrid query
• Hidding rows in the DataGridView is too slow
• DataTable sorting
• ComboBoxs, binds and sync
• Setting the Value of a DataGridViews combobox based on another combox box
• Hierarchical datagrid from one datatable
• Sorting databound ComboBox
• Totals row in datagridview
• Update DataGrid
• Want Treeview tooltip to act like in vs.net