VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Code to use a PictureBox as a calendar. Virtually no code! No OCXs needed. Resizable. Reformatable.

Nathan Hobbs  (2 Submissions)   Custom Controls/Forms/Menus   Visual Basic 3.0   Unknown Difficulty   Wed 6th June 2007   Mon 8th February 2021

Code to use a PictureBox as a calendar. Virtually no code! No OCXs needed. Resizable. Reformatable. Written from Scratch. (Inspired by another

API Declarations


' # Drop a PictureBox onto the form and call it MyCal #
' # Set CurrentDate to the date you want and call DrawCalendar #
' # Call DrawCalendar again at any time to refresh it #
' # This Code is Copyright (C) Nathan Hobbs 2007 #
' # You are free to do what you wish with this code #
' # as long as you give appropriate credit to the #
' # author for the original code... seems only fair! #

Dim CurrentDate As Date, DatePos(1 To 6, 1 To 7) As Date

Rate Code to use a PictureBox as a calendar. Virtually no code! No OCXs needed. Resizable. Reformatable. (2(2 Vote))
Code to use a PictureBox as a calendar. Virtually no code! No OCXs needed. Resizable. Reformatable..bas

Code to use a PictureBox as a calendar. Virtually no code! No OCXs needed. Resizable. Reformatable. Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters