Mohammed Atef’s Technical blog

Activate ActiveX control using Javascript


          Today I am going to talk about common issue most of developer faces when they are trying to use an ActiveX control in his web page, and they want user to use the control without click it twice.


                When web developer use an ActiveX control in his web page, users of this web page should click twice on the ActiveX control first click to activate the ActiveX control and second time to use the control.


                Solving the above issue is very simple just follow the below steps:

  1.  Download and Add this Javascript file to your web application
  2.  Add the following line before the end body tag in your web</body>
    <script type=”text/javascript” src=”virtual path of added JS file in step1″/>

Note, I have read many articles for fixing this problem but most of them not working and need to write Javascript codes but this article only was working, so I have wrote this post to give you the best solution I have found after long time of search.

I hope That Helped.


January 20, 2011 - Posted by | | , ,


  1. This design is wicked! You most certainly know how to keep a reader
    entertained. Between your wit and your videos, I was almost moved to
    start my own blog (well, almost…HaHa!) Great job.
    I really loved what you had to say, and more than that,
    how you presented it. Too cool!

    Comment by oreck store | January 1, 2013 | Reply

    • thank you for your kindly comments, if you write any post in ur blog share with me, i am interested to learn and share with others anything new.

      Comment by mohammedatef83 | January 2, 2013 | Reply

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: