|
There are two easy ways to find the values.
The first is to use a COM/OLE browser. Use this on a MetaFrame server to browse the Citrix COM objects - view the "enumerations" of the object, these are basically the object constants. You can use the object browser available in VBA if you want. This method will get you all the values, but can be confusing if you are not familiar with objects.
The second method which is simpler but can only be used if you know the enumeration name. In this case, just open the "immediate" window in VBA and type "debug.print ENUMERATION". For example, "debug.print MetaFrameWinFarmObject" would display "1".
The easiest way to get into VBA is to start Excel and open "Tools->Macro->Visual Basic Editor". You need to add the MetaFrame object reference to be able to use it, so in the VBA screen go to "Tools->References" and put a tick in the "Citrix MetaFrame COM Library" box.
You can now open the object browser by using "View->Object Browser" or the immediate window by "View->Immediate Window"
There are a number of stand-alone object browsers if you can't start VBA - there is even a KiXtart object browser available if you search the forum.
|