Since activeX controls cannot be top level this function will always throw an exception if the value parameter is set to true.
[Visual Basic] Property TopLevel As Boolean [C#] bool TopLevel {override set;} [C++] public: __property virtual void set_TopLevel(bool); [JScript] public function set TopLevel(Boolean);