Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MPP File not working in Windows 7

Status
Not open for further replies.

yaip

MIS
Oct 4, 2005
5
US
I have developed a test app in .NET that reads an MPP file. It just iterates thru' the available nodes and shows them as a list, like such:

' Open the file. There are a number of options in this constructor as you can see
Dim proj As Project = projectApp.ActiveProject

For Each p As System.Reflection.PropertyInfo In proj.GetType().GetProperties()
If p.CanRead Then
Try
Console.WriteLine("{0}: {1}", p.Name, p.GetValue(proj, Nothing))
Dim item As RadListBoxItem = New RadListBoxItem
item.Name = p.Name
item.Text = p.Name
item.Value = p.GetValue(proj, Nothing)
lbNodes.SelectedIndex = 0

If blnComboboxItemSelected = False Then
lbNodes.SelectedItem = p.Name
blnComboboxItemSelected = True
End If
lbNodes.Items.Add(item)
Catch ex As Exception
End Try
End If
Next

This works in XP Pro. I am able to see the "Task" node. However, it is missing in Windows 7 Pro x64.
 
MS Project 2003. It seems to have installed fine. But I am not sure as I am not a Project guy.
 
I only know it as I can read the MPP file in MS Project 2003 in Windows 7 x64.
 
You're doing stuff I have no experience with but ... you may find your situation here or here. It appears to be a known issue but one without a resolution.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top