# Not able to open custom UI

**URL:** <https://devforum.zoom.us/t/not-able-to-open-custom-ui/8208>\
**Category:** Meeting SDK\
**Created:** [February 22, 2020, 2:23pm UTC](https://devforum.zoom.us/t/not-able-to-open-custom-ui/8208 "2020-02-22T14:23:32Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ankit.acet13](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@ankit.acet13](https://devforum.zoom.us/u/ankit.acet13)\
**Post date:** [February 25, 2020, 12:21pm UTC](https://devforum.zoom.us/t/not-able-to-open-custom-ui/8208/3 "2020-02-25T12:21:12Z")

</div>

Hi,

I am able to connect , open and join meeting if i use zoom meeting UI. it works fine for me.  
but I am not able to open custom UI, although in case of custom UI aproach I am able to join the meeting.

Here is the approach i am following :  
Initialization :  
Code snippet for initialization :  
ZOOM\_SDK\_DOTNET\_WRAP.InitParam param = new ZOOM\_SDK\_DOTNET\_WRAP.InitParam();  
param.web\_domain = “[https://zoom.us](https://zoom.us)”;  
param.config\_opts.optionalFeatures = 32;

```
        ZOOM_SDK_DOTNET_WRAP.SDKError err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.Initialize(param);

```

AUTHENTICATION :  
Code Snippet for authentication :  
ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().Add\_CB\_onAuthenticationReturn(onAuthenticationReturn);

```
        ZOOM_SDK_DOTNET_WRAP.AuthParam authparam = new ZOOM_SDK_DOTNET_WRAP.AuthParam();

        authparam.appKey = "XXXXXXXX";
        authparam.appSecret = "XXXXXXX";
        ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().SDKAuth(authparam);

```

Meeting status change event : there is one event onMeetingStatusChange, when the meeting status is MEETING\_STATUS\_INMEETING

Below Code executes :

videocontainer vc = new videocontainer();  
RECT t = new RECT  
{  
Right = 10,  
Left = 10,  
Bottom = 100,  
Top = 10  
};  
GCHandle handle1 = GCHandle.Alloc(vc);  
IntPtr parameter = (IntPtr)handle1;

```
                    var customUIContainer = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetCustomizedUIMgrWrap().CreateVideoContainer(parameter, t);
                    //customUIContainer.
                    customUIContainer.CreateVideoElement(VideoRenderElementType.VideoRenderElement_ACTIVE);
                    customUIContainer.Show();

```

JOINING Meeting :  
Code snippet for the same :  
ZOOM\_SDK\_DOTNET\_WRAP.JoinParam joinparam = new ZOOM\_SDK\_DOTNET\_WRAP.JoinParam();  
[//joinparam.userType](https://joinparam.userType) = ZOOM\_SDK\_DOTNET\_WRAP.SDKUserType.SDK\_UT\_APIUSER;  
joinparam.userType = ZOOM\_SDK\_DOTNET\_WRAP.SDKUserType.SDK\_UT\_APIUSER;  
ZOOM\_SDK\_DOTNET\_WRAP.JoinParam4APIUser join\_api\_param = new ZOOM\_SDK\_DOTNET\_WRAP.JoinParam4APIUser();  
join\_api\_param.meetingNumber = 123456789;  
join\_api\_param.userName = “”;  
joinparam.apiuserJoin = join\_api\_param;

```
        ZOOM_SDK_DOTNET_WRAP.SDKError err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().Join(joinparam);
		
		
		
		After following this approacg i am able to join meeting but custom UI provided by zoom is not getting opened.
		Can you please let me know if i am missing something or any problem with my approach.
```

---

_[View the full topic](https://devforum.zoom.us/t/not-able-to-open-custom-ui/8208)._
