|
-
Jun 4th, 2004, 03:03 PM
#1
Thread Starter
Hyperactive Member
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
-
Jun 4th, 2004, 10:55 PM
#2
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Jun 5th, 2004, 01:48 AM
#3
Fanatic Member
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..
-
Jun 5th, 2004, 08:30 AM
#4
Thread Starter
Hyperactive Member
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.
-
Jun 5th, 2004, 01:41 PM
#5
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|