I try to create a task.This is the code
Sub App_Start
Form1.show
task.New1
task.CreateNew
task.StartDate=DateParse( "12/10/2007")+(TimeParse( "08:00") Mod cticksperday)
task.Subject="bb"
pimCol.New1("tasks")
pimCol.AddItem(task.Value)
End Sub
but when i try to run it an error message appears
"pimCol.Additem(task.value)
error description
native method call failed"
What am i doing wrong;