pawel wrote:
> Hello All
>
> My vi needs to behave differently in situations where it was called as
> an ActiveX server or as it was executed as a standard application.
>
> So inside a vi I need to detect what is the current execution mode.
>
I don't think you really can do that. What you could do however, is
adding an extra optional boolean input parameter which you have to set
in either the case of Active X or Application, depending of what you
prefer. Then have a wrapper VI for Active X and maybe another one for
non-Active X to call the real VI from.
Document the VI name for Active X calls in your Active X interface
description and use the other one in your LabVIEW apps.
Rolf Kalbermatter
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390