CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2025
    Posts
    2

    Need Help Designing A "MonthView" Like Calendar in VB6

    I have an application written in classic Visual Basic 6.0. It uses the ActiveX control "MonthView".
    I would like to accomplish the same calendar interface using just VB6, without an ActiveX control.
    It would display a calendar and if the user clicks a date the date would be highlighted.
    It would look like the calendar shown in the attached image. I would probably use a PictureBox control
    and label controls for the dates. Command buttons would let the user navigate to months in the past or future.
    I do not want today's date to be highlighted.

    Can anyone offer advice on how to make this look professional? Does anyone know if there is existing VB6 code that would do this?
    Attached Images Attached Images

  2. #2
    2kaud's Avatar
    2kaud is online now Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,889

    Re: Need Help Designing A "MonthView" Like Calendar in VB6

    [Also asked on this site's sister site
    https://www.vbforums.com/showthread....alendar-in-VB6 ]
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  3. #3
    Join Date
    Jan 2025
    Posts
    2

    Re: Need Help Designing A "MonthView" Like Calendar in VB6

    Thank you very much.

Tags for this Thread

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

Featured