9.3 SP2 Arclogistic access ESRI.ArcLogistics.ALApplicationClass in plugin on timer

525
2
11-16-2011 10:19 AM
RizwanBashir
New Contributor
Hi
  I have a plugin where I need to monitor some records. on create I created a timer which triggers 30 seconds.
public void OnCreate(ALApplication Object)
       {
m_app = Object;
timer created and event attached here
}

now on timer event when I run this command
   IALEditableCollection collSelection = m_app.Selection;

it errors , attached is the snapshot of that.
same line of code works when I click on plugin icon under execute procedure.

any idea's ?


Best Regards
Rizwan Bashir
0 Kudos
2 Replies
JeffWickstrom
Esri Contributor
Please let us know if my other reply about events was enough.

Thanks,
Jeff
0 Kudos
RizwanBashir
New Contributor
Hi
   Yes it was more then enough.
Thanks
Best Regards
Rizwan Bashir
0 Kudos