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
Re: problem with opening calendar
Welcome to VBForums :wave:
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 ..."
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?
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