|
-
Jun 13th, 2007, 04:59 PM
#1
Thread Starter
New Member
problem with opening calendar
hi all,
can someone help me pls.
when i open a calendar in a new form, on some pc's it works and a few others i get te following message "-2147319765(8002802b) automation error element not found"
when i install my program i have to choose if a want to keep the most recent dll.
i dont want to install the old ones.
kind regards
-
Jun 14th, 2007, 11:42 AM
#2
Re: problem with opening calendar
Welcome to VBForums 
The calendar control is not designed for VB (it is for VBA), so is prone to errors.
You should use a MonthView or DateTimePicker instead, which can be found in the components "Microsoft Windows Common Controls ..."
-
Jun 14th, 2007, 08:22 PM
#3
Re: problem with opening calendar
Actually the Calendar Control is part of Office and only when you try to use it in a non-VBA app will it create headacches for you. 
Can you give us a little more info on what your app uses or does?
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 15th, 2007, 03:35 AM
#4
Thread Starter
New Member
Re: problem with opening calendar
the users have to fill in when the production of a certain produkt begins and end
so they get 2 textboxes and a 2 command buttons, when they press the command button a new form with the calendar will show to select the date to fill in the textbox.
when they press the commandbutton the error comes sometimes
i will try now MonthView or DateTimePicker thanks for the replys
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
|