AnsweredAssumed Answered

Subscribing to events using IApplication

Question asked by karen on Jun 28, 2011
Latest reply on Jul 1, 2011 by karen
Is there a way to subscribe to PNA events while also using the IApplication interface?

I was previously subscribing to events through COM by using “Dim WithEvents pna As AgilentPNA835x.Application”, but now I need to support different versions of firmware so I want to use the IApplication interface instead. When I try to use “Dim WithEvents pna As AgilentPNA835x.IApplication” I get a compile error “Object does not source automation events.”

Thank you.  

Outcomes