How to create new Task Using VSTO and C#

M

Memphis Monroe

How to create new Task Using VSTO and C# in Project 2007 Add-in
Any help please...
 
R

Rod Gill

HI,

I can't help with C# but assuming you can make a Hello World addin, you need
to access the Project Application Object thru the Globals collection.

To add tasks, record a macro of you adding a task in Project VBA then
convert the code. Note that Office applications have numerous Parameters
that in C# you will have to provide for (mostly using #missing is it?). In
VBA or VB optional parameters make code much simpler and easier to read.

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top