Greetings,
I have programming in VB.net a code, that assiged a local resource to a task:
Ass=ActiveProject.Resources.Item(RessNummer).Assignments.Add(t_temp.ID)
If I use this code with enterprise resource, this error occured:
"NullReferenceException was unhandled by user code"
How can I writethecode so thatit works forbothtypes ofresources?
Thank you!
Michael