Results 1 to 3 of 3

Thread: Calender in Visual Basic???

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2000
    Posts
    45

    Question

    I use Visual Basic 6 Enterprise Edition. I am programming a program wich need to have a calendar. In VB Enterprise it is a calendar function wich make a calendar for me but what I dont understand is how I can make a label that can show information from a .mdb acces database when i i.e click the 31.2.2000 on the Visual Basic calendar. Hope you guys can help me!!!

  2. #2
    Fanatic Member
    Join Date
    Mar 2000
    Location
    That posh bit of England known as Buckinghamshire
    Posts
    658
    Just had a quick look at the monthView, and your problem doesn't seem to bad.

    There is a DateClick event, that tells you which date has been clicked on.

    In this event, you could call a query into the database to get some info based on which date was clicked. Then set the label's caption to the data that you retrieved from the DB.

    Hope this was what you were after.
    Iain, thats with an i by the way!

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2000
    Posts
    45

    Thumbs up Thanks

    Thanks, just about what I was looking after.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width