Sorry, I need Declare in C# New Task.. and after addin... How do it?
D Diego Jan 9, 2008 #2 Can`t do it??????? Microsoft.Office.Interop.MSProject.Task NewTask = new Microsoft.Office.Interop.MSProject.Task; Help PLease!!!!!!!!!!!! Waiting your help.........
Can`t do it??????? Microsoft.Office.Interop.MSProject.Task NewTask = new Microsoft.Office.Interop.MSProject.Task; Help PLease!!!!!!!!!!!! Waiting your help.........
J Jack Dahlgren Jan 9, 2008 #3 I'm not a c# guy, but the VBA method for a new task is usually something like: activeproject.tasks.add (then parameters here) Basically you are adding an item to a tasks collection. Give that angle a shot. -Jack Dahlgren
I'm not a c# guy, but the VBA method for a new task is usually something like: activeproject.tasks.add (then parameters here) Basically you are adding an item to a tasks collection. Give that angle a shot. -Jack Dahlgren
D Diego Jan 10, 2008 #4 This it is the code by if to someone serves him: Task newTask = ProjectAplication.ActiveProject.Tasks.Add("NameTask", Missing.Value); Greats, Diego
This it is the code by if to someone serves him: Task newTask = ProjectAplication.ActiveProject.Tasks.Add("NameTask", Missing.Value); Greats, Diego