Embed file or object in MSProject file

W

Wayne

Hello,

Is it possible to embed a file or object within an .MPP file? If not does
anybody have any suggestions on how to associate information with specific
tasks in a specific project file without using the custom task\assignment
fields? (Text1, Text2 etc)

Thanks
Wayne
 
J

JulieS

Hello Wayne,

You can embed an object (file) in the notes field of a task or
resource. Double click on the task to show the Task Information
dialog. Click the Notes tab and use the Insert Object button on the
toolbar above the notes area in the dialog.


I hope this helps. Let us know how you get along.

Julie
Project MVP

Visit http://project.mvps.org/ for the FAQs and additional
information about Microsoft Project
 
W

Wayne

Thanks Julie but I was looking to do this programmatically (via a c# VSTO
add-in I have developed) as an alternative to storing task speciifc values
that my add-in needs, in custom Projects fields.

I have tried recording a macro as a starting point when embedding an object
but the output was:

SelectTaskField Row:=0, Column:="Name"
SetTaskField Field:="Notes", Value:=" ", AllSelectedTasks:=True
SelectTaskField Row:=0, Column:="Name"

I would also need the embedded object to not be visible or available to the
end user.

Cheers
Wayne
 
J

JulieS

Hello Wayne,

Sorry, my error. I forgot I was reading the developer newsgroup and
assumed your question was a general one, not specific to
programming.

I am a very rank beginner in programming, but a quick check to the
object browser in the Project VBE turned up the CreateObject
function that may suit your needs. Sorry, I cannot give more
guidance on this one.

Julie
 
J

Jack Dahlgren

Wayne,

Embedding files as a way of storing task specific information along with the
task is probably not the best idea. What is the issue with just using a
custom field for the information? What sort of information are you hiding
from the user?

If you give more information about what you are trying to achievem it is
easier to give some alternative solutions.

-Jack Dahlgren
 

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