maskedbox text to listbox

K

ken harrison

I have the following components in a form:

1)Listbox
2)maskedbox(maxlength=6,input mask=##/##/##)
3)command button(to apply changes)
4)command button(to add text from maskedbox to listbox)

requirement:
enter date as 01/05/03 in maskedbox,click on add
command button will list date as 1/5/03 in listbox
click on apply will copy date to a registry keyvalue
in HKEY_CURRENT_CONFIG\System\CurrentControlSet "Date"
as in e.g-1/5/02,2/5/03,1/5/03,
when the form is run,the date will appear separately in listbox
without comma e.g:

1/5/03
2/5/03
3/5/03
10/5/03

what's the source code please?



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top