![]() |
|
phGantTimePackage FAQ 10596Deleting a link Please note that this article
refers to the phGantTimePackage Jump to article- 2006-06-18 10:00:00 - Email plexityHide Question We are evaluating your phGantTimePackage and we have a doubt: we want to delete a link made between 2 tasks. We've used the addLink method, but we have a problem when we try to delete the link. We saw a code example in your web and tried to follow it, but we encountered a problem with the types that the method GetLinks returns. The code line is: "If ((Not alink.LinkOwner Is Nothing) And (Not alink.LinkedTo Is Nothing)) Then" and the error is: 'the object doesn't admit this method'. The complete code is: Dim alink As IphDataEntity_Link ... What is wrong? Is there any method similar to addLink for delete a link? Answer When you have the link object you can delete it like this: theGant.GetLinks.Remove(alink);
|
"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%" |
| ? 1999-2006 PlexityHide.com Grastensvagen 24, S-163 45 Spanga Sweden E-mail: support@plexityhide.com |