Solved

ActiveX Controls Strange behavior

Posted on 2007-03-23
5
176 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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…

860 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