Date Time Picker

selct date and put text in textbox to save

Page 1 of 1

7 Replies - 5429 Views - Last Post: 29 July 2010 - 01:38 AM Rate Topic: -----

#1 JHINZ  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 27-July 10

Date Time Picker

Posted 27 July 2010 - 04:22 AM

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

Is This A Good Question/Topic? 0
  • +

Replies To: Date Time Picker

#2 raziel_  Icon User is offline

  • Like a lollipop
  • member icon

Reputation: 464
  • View blog
  • Posts: 4,255
  • Joined: 25-March 09

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

Was This Post Helpful? 0
  • +
  • -

#3 JHINZ  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 27-July 10

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.
Was This Post Helpful? 0
  • +
  • -

#4 raziel_  Icon User is offline

  • Like a lollipop
  • member icon

Reputation: 464
  • View blog
  • Posts: 4,255
  • Joined: 25-March 09

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?
Was This Post Helpful? 0
  • +
  • -

#5 JHINZ  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 27-July 10

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.
Was This Post Helpful? 0
  • +
  • -

#6 raziel_  Icon User is offline

  • Like a lollipop
  • member icon

Reputation: 464
  • View blog
  • Posts: 4,255
  • Joined: 25-March 09

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.
Was This Post Helpful? 0
  • +
  • -

#7 JHINZ  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 27-July 10

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
Was This Post Helpful? 0
  • +
  • -

#8 raziel_  Icon User is offline

  • Like a lollipop
  • member icon

Reputation: 464
  • View blog
  • Posts: 4,255
  • Joined: 25-March 09

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
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1