Vote count:
0
I'm writing an application that opens an MS project file using Microsoft.Office.Interop.MsProject.Application using C#
I'm trying to detect when the selection has changed. Currently I have a thread that runs an infinite for loop that checks every 1/10th of a second to see if the task has changed, but that seems to cause too many bugs. I was wondering if there was a way for MS Project to notify me when the active selection has changed. I tried to implement http://ift.tt/1iOeey5 , but I'm not sure how to implement this in c#. The VBA code in the example doesn't seem to work.
asked 32 secs ago
Aucun commentaire:
Enregistrer un commentaire