Visual Basic .NET Forums  
Click here to advertise with us

Go Back   Visual Basic .NET Forums > VB.NET > Add-In Development

Add-In Development Discussions related to developing Add-Ins

VB.NET Forums Newsletter Signup:
Email address:


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-07-2009, 7:33 PM
VB.NET Forum Newbie
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Sep 2008
Posts: 6
Reputation: 0
jaksel is on a distinguished programming path ahead
Default Using Date Difference Function for MSProject Addin

I am creating a Microsoft Project 2007 Add-In using VS2008 and VB.NET. So far, so good.
I am trying to access the Member Function DateDifference

The function returns the number of Business Days within the specific MS Project file between two given days. It respects the calendar assigned to the project including holidays, etc.

I can find the function in the object browser here:

Microsoft.Office.Interop.MSProject._MSProject
It returns a value of Long

And the intellisense lets me get that far. However, I am trying to do this:

mProj As Microsoft.Office.Interop.MSProject._MSProject.Date Difference( Date1, Date2, CalendarName)

But that appears to be not allowed.

Any ideas on how I can correct this?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 9:33 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


For advertising opportunities click here.