Select to view content in your preferred language

Foreground/Background execution in ArcDesktop 10

359
0
08-04-2010 11:10 AM
MichaelSavigny
New Contributor
I'm relatively new to working with ArcObjects & ArcGIS, so please forgive me if I'm asking a question with an obvious answer.

I'm updating some COM extensions that were developed for ArcDesktop 9.x to work with Arc 10.  Everything has gone pretty smoothly except for one problem.  Some of the tools in the extension only work if they run in the foreground.  I've figured out why this is, but fixing it so they run in the background ArcSOCP process will probably take a fair bit of time (which I don't have a lot of).

So my question is this... is there a way to programatically set a function/tool to force it to run in the foreground without disabling background processing globally?  I've noticed that there is a "Always run in foreground" checkbox on tool properties, but this is greyed out and uncheckable.  Is there some way of enabling this checkbox (programatically or otherwise)?  If I can't set a tool to run in the foreground, is there some particular reason for that (tool chaining, for example)?

Thanks in advance for any help & respones.

Mike
0 Kudos
0 Replies