D
DapperDanH
Hello,
I have a C# MS Project 2002+ addin. The addin contains a button on the
toolbar.
When the user hits the button:
1) make a connection to the activeproject.mpp using OleDb.
2) Based upon information gathered from OleDb queries, changes are made to
the activeproject through the object model.
3) Save the activeproject using the object model.
4) Open and close an oleDB connection to an empty msproject file.
If the user pushes the addin button directly afterward, OleDb is returning
the old information. The UI shows the updated information, but the queries
return old information.
What am I doing wrong? How can I ensure the next OleDB connection will
contain the most recent changes made?
Thanks,
Dan
I have a C# MS Project 2002+ addin. The addin contains a button on the
toolbar.
When the user hits the button:
1) make a connection to the activeproject.mpp using OleDb.
2) Based upon information gathered from OleDb queries, changes are made to
the activeproject through the object model.
3) Save the activeproject using the object model.
4) Open and close an oleDB connection to an empty msproject file.
If the user pushes the addin button directly afterward, OleDb is returning
the old information. The UI shows the updated information, but the queries
return old information.
What am I doing wrong? How can I ensure the next OleDB connection will
contain the most recent changes made?
Thanks,
Dan