@Amish Kumar,
The code you posted is a server-side code, which for a Visual WebGui web application means, that the code will run at the webserver only, provided the ActiveX control has been installed on the server. This may work for you (although not recommended) if you run your web application using your local host as your IIS webserver, but when the webserver is a remote machine, this code will not affect the client.
For Visual WebGui Web applications, you have chosen the correct hosting control, ActiveXBox, which will add the ActiveX control to the client's browser. To control it, you usually set "parameters" on the ActiveXBox control, which will then update/contact the ActiveX control it is hosting.
A fairly good example of how it works can be found in one of Visual WebGui's forum threads here (controlling a media player ActiveX control), and more information and sample can be found here.
Palli