RobotStudio event

Launching SDK-View

Options
Hello.

I have tried to launch a SDK-View with an other one with the following source code:
The HMI hangs up everytime and I tried different combination of the definition of the _iTpsSite.LaunchView(...)

Object _cookieA;
_iTpsSite = sender as ABB.Robotics.Tps.Taf.ITpsViewLaunchServices;
if (_iTpsSite.LaunchView("TpsView_HMI.gtpu.dll", "ABB.Robotics.SDK.Views.TpsView_HMI", null, true, out _cookieA) != true)
{
   ErrorHandler();
}

I would be appreciated if somebody could tell me what I have done wrong.
Thanks in advance