Select to view content in your preferred language

toolstrip buttons work intermittently - ArcEngine app using VB.NET

581
2
05-17-2010 07:02 AM
LesleyRoddam
Emerging Contributor
I have an ArcEngine application built using Visual Studio and VB.Net. It has a toolstrip along the bottom with a few buttons. There are subroutines that fire on those button clicks.
However, usually you have to click the button numerous times before the subroutine will fire.
Any ideas on why this happens and any way to correct it?
Thanks!
0 Kudos
2 Replies
JanDuske
Emerging Contributor
Do you really have to click on the button several times, or does it simplay take a long time until the routine is launched? My more complex .Net assemblies sometimes need a few seconds until all dependencies are loaded.
0 Kudos
LesleyRoddam
Emerging Contributor
Thank you for the suggestion. No, I really have to pick it a few times before it will launch. The routines are very simple, and when the buttons do work, they work immediately. Sometimes it works on the first click, other times it takes a few clicks before the computer recognizes that the user has clicked the button. Very strange...
0 Kudos