M
Melan
Hi everybody,
I met interesting problem during development of .NET Add-In for MS Project:
Scenario is follows:
Program creates ToolBar with single button then it shows form and performs
query to Oracle base.
As soon as the program catches feedback from Oracle it reworks MS Project
file: add or remove some tasks.
Unexpected result is: if I press again on the button there is no reaction
from the program side. The program does not change Click handler of the
button. It does not affect the button in any case.
I have found that this problem come if following cases:
The first case: if I use System.Data.OracleClient the problem exists and if
I use System.Data.OleDB there is no problem
The second case: if I use several cycles over the Tasks object.
There is one solution: use debuger. If I start the program with the debuger
attached to the process: some times it may help me to avoid the problem, but
some times not.
May be some body meet the problem and have already found the solution...
I met interesting problem during development of .NET Add-In for MS Project:
Scenario is follows:
Program creates ToolBar with single button then it shows form and performs
query to Oracle base.
As soon as the program catches feedback from Oracle it reworks MS Project
file: add or remove some tasks.
Unexpected result is: if I press again on the button there is no reaction
from the program side. The program does not change Click handler of the
button. It does not affect the button in any case.
I have found that this problem come if following cases:
The first case: if I use System.Data.OracleClient the problem exists and if
I use System.Data.OleDB there is no problem
The second case: if I use several cycles over the Tasks object.
There is one solution: use debuger. If I start the program with the debuger
attached to the process: some times it may help me to avoid the problem, but
some times not.
May be some body meet the problem and have already found the solution...