Results 1 to 5 of 5

Thread: calendar control

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2001
    Posts
    378

    calendar control

    So, I've been asked to create a basic 2 year calendar. The focus of the project will be images associated with each month (which I can handle fine...easy). The challenge for me is going to be handling allowing users to add/edit data for each day in the calendar. Is the MS Calendar control 8 a good start? I'd like to save all the data to a local accessDB or flat file so that when someone enters in "Jim's birthday" for May 25 the calendar will save that data.

    Very odd project for me. Seems useless, but interesting break from the norm.

    Looking for some general advice.

    Oh yeah, I should mention that the program will be installed on win98/2000/XP machines.

    thanks

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    I would suggest using an Access db instead of a flat file. Also, I
    don't like the mscal.ocx control because its unpredictable accross
    different os platforms/versions. How about using a datetime
    picker control and displaying the records in some other type of
    control (Grid, listview, or ???)?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3
    Fanatic Member sridharavijay's Avatar
    Join Date
    Sep 2002
    Location
    http://www.vijaysridhara.in
    Posts
    589
    I believe you can use flat files also but a bit more coding will be needed.
    However advantage is that your application will be less weighted and can work on any machine which doesnt have DAO or ADO components.
    Again if you use random access files, the file will be huge, and with sequential files it will be smaller, but in a sequential file, you should have a key to fetch again. There is a tradeoff!

    I used sequential file instead for such application as I had to store some 30 years of data. It works fine

    With database you are restricting the access to only OFFICE users

    Secondly MSCAL is a stupid control, though it serves the purpose as Rob said. Use datepicker or MonthView control from MSCOMCTL2.ocx..

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2001
    Posts
    378
    sridharavijay - With database you are restricting the access to only OFFICE users
    I'm assuming that this is a false statement. Correct? It is my understanding that AccessDB can be distributed with an installer that includes MDAC. Any thoughts?

    Thanks for the advice on the controls I'll check them out.

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    Yes Kira you are correct in your assumption. As long as your
    installation package includes MDAC you absolutely do not need
    Access at all. Not unless you want to develop some Access Forms
    as the GUI, then thats a different story.

    HTH
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

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