ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Activex Initialization error? (https://www.excelbanter.com/excel-programming/432814-activex-initialization-error.html)

Webtechie

Activex Initialization error?
 
Hello,

I am using Excel 2007 on a laptop with Vista Ultimate.

I create a userform that allows the users to see pdf documents. I found an
example on the internet that says you put the pdf browser control on a
userform. Just went to tools references and checked the pdf browser control.
I think went to the toolbox and added it as an additional control. I then
put it on the userform. It works great. Now my users can see pdf documents
via a userform.

But when the spreadsheet is opened, I get this error message:

This application is about to initialize ActiveX controls that might be
unsafe. If you trust the source of this file, select OK and the controls
will be initialized using your current workspace settings.

Press OK and you go into the app. But that happens each time I open the
spreadsheet. How do you initialize a control so that this doesn't come up
each time you open the spreadsheet?

Thanks,

Tony





Peter T

Activex Initialization error?
 
Looks like the only way to prevent the message is to hack the registry
http://support.microsoft.com/kb/827742

FWIW, running the Adobe control also appears to run Acrobat's updater and
goes on line. I've got a vaguely recall reading of other ways display a pdf
without using that control, but I haven't looked into it.

Regards,
Peter T

"Webtechie" wrote in message
...
Hello,

I am using Excel 2007 on a laptop with Vista Ultimate.

I create a userform that allows the users to see pdf documents. I found
an
example on the internet that says you put the pdf browser control on a
userform. Just went to tools references and checked the pdf browser
control.
I think went to the toolbox and added it as an additional control. I then
put it on the userform. It works great. Now my users can see pdf
documents
via a userform.

But when the spreadsheet is opened, I get this error message:

This application is about to initialize ActiveX controls that might be
unsafe. If you trust the source of this file, select OK and the controls
will be initialized using your current workspace settings.

Press OK and you go into the app. But that happens each time I open the
spreadsheet. How do you initialize a control so that this doesn't come up
each time you open the spreadsheet?

Thanks,

Tony








All times are GMT +1. The time now is 04:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com