Solved

ActiveX Controls Strange behavior

Posted on 2007-03-23
5
175 Views
Last Modified: 2013-12-05
Dear All,

I have one ActiveX Control which is used to calculate Idle time of a given user. My Ctrl internally using KeyBoard Hook and Mouse Hook. I have to download the ActiveX through a web browser. After the Actx ctrl download(along with web page), when i am refreshing the web page by pressing F5 or any another means it is displaying the webpage for 2 times only. From 3rd time onwards web browser is not displaying the web page. It is not displaying any web page(Gmail,Rediffmail etc...) also. Other web pages can be displayed in seperate web browser. In the same web browser in which i have downloaded the Actx Control is not displaying any page.

My Actx Ctrl is safe component. (By using IObjectSafety Interface)

OS :: Windows 2000 Server
Language:: Microsoft Visual C++ 6.0
Web Browser:: Internet Explorer  6.0
Web Page written in ASP.

Please Give me your suggestions.
Thanks
0
Comment
Question by:Krishna44
  • 2
5 Comments
 
LVL 10

Expert Comment

by:slamhound
ID: 18790660
what does this control actually do?
0
 

Author Comment

by:Krishna44
ID: 18790715
After installing the KeyBoard and Mouse hooks, My ActiveX control will do the following::

If the user doesn't press any KEY IN THE KEYBOARD and doesn't MOVE THE MOUSE,  then i have to calculate the idle time of the particular user by taking the time after which the user has pressed keys or moving mouse. i.e. i am taking the difference of the times between the two inputs.

eg:-
After User logged in to the system at 10:00 A.M. But he is not doing any thing, after 15 minutes i.e. 10:15 A.M., if he pressed any key or move the mouse the ActX control will calculate the total idle time as 15 minutes and send the idle time to the server by posting (POST). and also write to the log file the first 15 pressed keys.
0
 
LVL 10

Accepted Solution

by:
slamhound earned 250 total points
ID: 18790820
Your best bet is to contact the creator of the ActiveX component. It seems that this is the only thing that's making the system stop working but we can't get into it to find out why it's not working.

Being ActiveX, my suggestion would be that it's a security issue with Windows or IE trying to block it or mess with it.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
A short article about problems I had with the new location API and permissions in Marshmallow
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question