Hello,
i am trying to make the Datetimepicker1 so that i can select a date. then i a TextBox on the form i can put text. With a button i will save the text.
And so on with other dates. When i select a date on the Datetimeticker which i put text under, i will see my text again in the textbox of that date.
is that possible.
Do i need to make a database in Access 2007?
I search the forum and read something about it. but i did not understand it. And this was a bit different.
how to work on this.
i am learning Visual basics 2005 now for almost a year.
thnx
Date Time Pickerselct date and put text in textbox to save
Page 1 of 1
7 Replies - 7745 Views - Last Post: 29 July 2010 - 01:38 AM
Replies To: Date Time Picker
#2
Re: Date Time Picker
Posted 27 July 2010 - 04:30 AM
you may create a DB. but as well you may add them in txt file or ini file. btw this is vb6 forum

This post has been edited by NoBrain: 27 July 2010 - 04:30 AM
#3
Re: Date Time Picker
Posted 27 July 2010 - 05:49 AM
thnx.
i know that this vb6. i can try that too.
But what will be the code for all that.
i know only how to show the date and time as popup.
but thats not what i want.
i know that this vb6. i can try that too.
But what will be the code for all that.
i know only how to show the date and time as popup.
but thats not what i want.
#4
Re: Date Time Picker
Posted 27 July 2010 - 06:27 AM
what do you mean popup?
i generally dont understand the question. you want to make your own task calendar?
i generally dont understand the question. you want to make your own task calendar?
#5
Re: Date Time Picker
Posted 28 July 2010 - 02:31 PM
Yes.
i know how to show the date en time in a textbox when i click on a date in the datetimepicker.
But, i want to write in a textbox things i did on the day; work, reports, etc. and save it.
So, that the date will become red or blue, etc, in the datetimpicker (or is the Monthcalendar better for it) and so on.
When i click on a certain date, that is blue or red, etc, then the text i wrote will be back again in the textbox or listbox.
is that possible to make?
i don't know how to start and the codes for it.
i know how to show the date en time in a textbox when i click on a date in the datetimepicker.
But, i want to write in a textbox things i did on the day; work, reports, etc. and save it.
So, that the date will become red or blue, etc, in the datetimpicker (or is the Monthcalendar better for it) and so on.
When i click on a certain date, that is blue or red, etc, then the text i wrote will be back again in the textbox or listbox.
is that possible to make?
i don't know how to start and the codes for it.
#6
Re: Date Time Picker
Posted 29 July 2010 - 12:18 AM
in this case i suggest you use a database (if you can of course). and avoid using text box. you can have several task in one day. so use a list view or at least combo box.
#7
Re: Date Time Picker
Posted 29 July 2010 - 01:23 AM
I made a connection to a database.
Tables are. IDDate - LOG (txt) -LogDate (date/time)
i called it datetime.mdb
I put a list-view on my Form.
But how to go on?
i don't know the codes for that all
Tables are. IDDate - LOG (txt) -LogDate (date/time)
i called it datetime.mdb
I put a list-view on my Form.
But how to go on?
i don't know the codes for that all
#8
Re: Date Time Picker
Posted 29 July 2010 - 01:38 AM
check the tutorial section there is a tutorial how to get data from DB.
http://www.dreaminco...se-using-adodb/
it is about sql but it`s more or less the same for access
http://www.dreaminco...se-using-adodb/
it is about sql but it`s more or less the same for access
Page 1 of 1