Solved

ActiveX Controls Strange behavior

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why use this lambda? 12 60
Monitoring solutions 8 72
Measure time after installing Antivirus 8 54
ASP Classic Query that needs to display more information 18 33
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this post we will learn different types of Android Layout and some basics of an Android App.
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…

762 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