Solved

ActiveX Controls Strange behavior

Posted on 2007-03-23
5
179 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.

738 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