Windows XP Disabling DayLight Saving Programmatically

SBK

Joined
Jun 30, 2008
Messages
1
Reaction score
0
I'm developing a software where I want to create an AllDayEvent. I want to disable the DayLight Saving adjustment programaticaly, because, all my appointments are getting created with 11 pm to 11 pm.

Kindly advice on how to proceed with this, using Redemption.

My code is:

Call MapiLogon(txtServer.Text, txtUser.Text)
Set oCalendar = oRDOSession.GetDefaultFolder(olFolderCalendar)

vDuedate = Date + 10
Set oAppt = oCalendar.Items.Add
With oAppt
.Subject = "Test - " '& oRDOTgtZone.Name
.Location = "Loc2" & Date$ & Time$
.Start = vDuedate
.AllDayEvent = True ' do this after setting date/time!!!
.BusyStatus = olFree
.Save
End With

Please help me, since I'm stuck up with this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top