Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with browser

Status
Not open for further replies.

newbiepg

Programmer
Nov 6, 2002
181
IN
We have developed an OCX in c++ which allows users to read books online.
When a registered user tries to read a book, the browser asks the user if they will let an ocx control to be used.

This is similar to the warning when you try to use Macromedia flash products for the first time.

We need to solve two problems.
One, we would like the user to be asked only once if they will let the ocx control work. Right now, the browser checks this every time the user tries to open a book.

Secondly we would like that this question be asked as soon as the user enters the site this question is asked.
Now this question is asked when the user tries to read a book online.

To check this you can go to this URL


Login as realmaker with the password 1111

Then go to this URL


click on the button at the bottom row(the one on the extreme right)

I will be grateful for any help

Thanks
 
>> One, we would like the user to be asked only once if they will let the ocx control work. Right now, the browser checks this every time the user tries to open a book.

Sorry, I don't really know. My guess is that maybe you're modifying the OCX control and it causes it to be reloaded in the user's browser.

>> Secondly we would like that this question be asked as soon as the user enters the site this question is asked.
Now this question is asked when the user tries to read a book online.

Easy, just create a hidden instance of your OCX control (i.e., [tt]STYLE="display: none"[/tt]) on your site's default page. Though you'll still have to solve your first problem for this to work.

Hope this helps, good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top