Solved

ActiveX Controls Strange behavior

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

Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

Join & Write a Comment

This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
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 fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now