great code, thanks for posting
I've put together an application and it works beautifully... untill I call the VIs from TestStand. The icon refuses to show up in the tray.
Any idea, what could cause this? I don't have much experience with the underlying .net