how to set task start-date and finish-date with visual studio .net 2005 (vb or c#)

M

mm10dev

hi,

i am able to get my task information with

for each c as project in p.project
for each t as task in c.tasks
msgbox t.start
next
next

but when i want to set the start-date or the finish-date with

t.start = new date(2007, 10, 17, 15, 00, 00)

or

t.setfield(pjfield.pjtaskstart, "Mi 16.10.2007")


but i always get an error message. an i am not able to catch project
exceptions.

whats going wrong? how can i set the start/end fields manually
with .net?

thanks
mm
 
M

mm10dev

I have solved ist by myself. its not possible to update the grouped
tasks, only the tasks unter this groups.
 
Top