![]() |
Date can not indicated |
Post Reply ![]() |
Author | |
Ingrid ![]() Newbie ![]() Joined: 20 December 2006 Location: United Kingdom Status: Offline Points: 10 |
![]() ![]() ![]() ![]() ![]() Posted: 16 July 2007 at 11:05am |
Hello,
I do not get a date in the calender indicated. To me someone can say which I makes wrong. here my Code Dim Event as CalendarEvent set Event = CalendarControl.DataProvider.CreateEvent With Event .Subject = "Test" .Body = "Termin" .StartTime = "16-07-2007 10:00:00" .EndTime = "16:07:2007 13:00:00" .AllDayEvent = False End with CalendarControl.DataProvider.Addevent Event CalendarControl.Populate |
|
![]() |
|
dentor ![]() Senior Member ![]() ![]() Joined: 30 November 2005 Location: France Status: Offline Points: 102 |
![]() ![]() ![]() ![]() ![]() |
Hello,
This new code works for me:
Dim pEvent as CalendarEvent
set pEvent = CalendarControl.DataProvider.CreateEvent With pEvent .Subject = "Test" .Body = "Termin" .StartTime = "16-07-2007 10:00:00" .EndTime = "16-07-2007 13:00:00" .AllDayEvent = False End with CalendarControl.DataProvider.Addevent pEvent CalendarControl.Populate There is some differences with the original code:
Hope this wil help you.
|
|
![]() |
|
Ingrid ![]() Newbie ![]() Joined: 20 December 2006 Location: United Kingdom Status: Offline Points: 10 |
![]() ![]() ![]() ![]() ![]() |
Oh Thanks Functioned
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |