Project 2007 adding (Enterprise) causing an issue?


Is it possible there is an issue between project server 2007 and the code? I'm attaching a document where I get the missing requirements field error message. I either a) dont have the template ID lookup table built correctly or b) project 2007 is appending the (Enterprise) at the end of the field name causing an issue or c) I'm just missing something.
Look at the screen shots. I think this section of code should maybe cut the string length to stop after - RC for example "sTemp = proj.ProjectSummaryTask.GetField(Globals.ThisAddIn.Application.FieldNameToFieldConstant("Status Date - RC"))" Should it str() or concat() the field to only look for the first 10 characters?
I would try and change it myself but I only have VB Express 2008 and cannot seem to open the .proj file.
Also, if I respond NO to the error message, it keeps running anyways. You might want to check the code around that error message to EXIT
If you see something else wrong with my fields please feel free to advise. Please let me know if I can do anything to help because we want to use it for our PMO.
I'd also like to talk to you about adding User Defined Fields so our PMO could check a few non-standard options. I dont know if there is a way to save your code as VB 2008 format so I can make the changes myself. I dont know enough about the development environments; I'm only a casual VB geek.
thanks Bill P.

file attachments


Segrest wrote May 21, 2009 at 12:11 AM

Hi Bill,

Let me answer your last question first.

The source code download is in fact a Visual Studio 2008 solution. So all you need to do is download, unzip and doubleclick the solution file to get started.

Bob Segrest

BillPriceFerg wrote May 21, 2009 at 1:43 PM

Mr. Segrest, Thank you for the response. Unfortunately it is not allowing me to open the proj using VB express. It might prefer a full copy of Visual Studio. I'm too much of an amatuer on the different environments to know. error in attached file. Please dont feel as though I'm asking you to fix it but if we can figure out a way to open it using VB Express 2008 then I could fix these smaller issues and contribute. Have a great weekend!! Bill P.

wrote May 21, 2009 at 1:43 PM

Segrest wrote May 22, 2009 at 12:22 AM

Hi Bill,

This tool is a Visual Studio Tools for Office (VSTO) add-in for Project Professional. While I haven't actually worked with VB Express 2008, I am not sure it supports or provides the infrastructure for VSTO. When you create a new project in VB Express 2008, is there a "Project 2008 Add-In" template as one of your options?

You may want to take the easier route and just download and install Visual Studio 2008 Professional. It is available on a 90 Trial basis at the following web site:
Bob Segrest

wrote Feb 14, 2013 at 12:27 AM