Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSCAL (Calendar Control) causing a run-time error?

Status
Not open for further replies.

ynott

Technical User
Sep 26, 2000
49
US
I have a VB program that I made several years ago and it's not working
on my new computer. I'm running VB 6.0 and I thinked I've narrowed
down the problem. When I run the program, I trapped the problem to a
particular line. Here's the error message:

Run-time error '-2147417848 (80010108)':
Method 'Value' of object 'ICalendar' failed.

Also, here's the line in my code that bombs:

Calendar1.Value = (Now)

Now, I saw a similar thread back in 2001, but I've tried everything
they've mentioned without success.


Any other thoughts?
TIA

P.S. I really don't want to change to Monthview if possible.
 
This has been discussed a number of times in this forum. The MS Calendar control is well known to be flakey, as its implementation depends on which OS you have and which (if any) version of Office you have. If you have some particular reason not to use the Monthview control then try the DTPicker control

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top