473,385 Members | 2,210 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

IE Security update

I have a page thats going to be impacted on the IE security update in June,
for active x controls, so here is my issue:
I have a windows user control on my page that talks to a EXE and works fine.
I'm working on some of the changes I'm finding
here:http://msdn.microsoft.com/library/de...ng_activex.asp

but its not working. I'm referencing my control via an <object> tag, BUT I'm
referencing the actual DLL name and not a classID of the control.
I was able to get this somewhat:
var myObject = document.createElement('object');
DivID.appendChild(myObject);
myObject.width = "200";
myObject.height = "100";
myObject.classid= "clsid:UsesCarSales.DLL";
but I'm getting a JavaScript Error of 'Access Denied' so is there a way I
can get this to work so when the update comes ou my pages work correclty?
May 2 '06 #1
1 1056
I haven't done this before, but it strikes me that a javascript function
attempting to create an activex object by referencing a DLL is... I dunno...
scary? Its not surprising that it's "access denied"-ville. I'd suggest
registering the plugin so that you don't have to load it from a dll, then
instead of "createElement"ing, just insert your normal <object> embedding
HTML into an existing element on the page...
(document.all ? document.all[elementName] :
document.getElementById(elementName)).innerHTML = "<OBJECT ... />";

"CSharpguy" wrote:
I have a page thats going to be impacted on the IE security update in June,
for active x controls, so here is my issue:
I have a windows user control on my page that talks to a EXE and works fine.
I'm working on some of the changes I'm finding
here:http://msdn.microsoft.com/library/de...ng_activex.asp

but its not working. I'm referencing my control via an <object> tag, BUT I'm
referencing the actual DLL name and not a classID of the control.
I was able to get this somewhat:
var myObject = document.createElement('object');
DivID.appendChild(myObject);
myObject.width = "200";
myObject.height = "100";
myObject.classid= "clsid:UsesCarSales.DLL";
but I'm getting a JavaScript Error of 'Access Denied' so is there a way I
can get this to work so when the update comes ou my pages work correclty?

May 3 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
by: grahamd | last post by:
Who are the appropriate people to report security problems to in respect of a module included with the Python distribution? I don't feel it appropriate to be reporting it on general mailing lists.
3
by: craig | last post by:
I am working on my first .NET development project that involves custom role-based security per the project requirements. This lead to a general design issue this week that really caused us some...
0
by: Todd Matson | last post by:
After installing a few security updates yesterday, I was surprised to discover that none of my MS Access applications work today. After doing some research, I have discovered that when the DAO...
116
by: Mike MacSween | last post by:
S**t for brains strikes again! Why did I do that? When I met the clients and at some point they vaguely asked whether eventually would it be possible to have some people who could read the data...
16
by: Lyle Fairfield | last post by:
There is an MS-SQL table named Bugs_Comments_and_Suggestions. There is a form named Bugs_Comments_and_Suggestions. To allow John Doe to use this form, we GRANT him LOGIN and ACCESS permissions...
12
by: Ümit | last post by:
Microsoft Never sends security patches via e-mail. This exe file may be a virus or a trojan. "Eija Silvennoinen" <kpidxbg_erbm@ogqj.com> wrote in message...
5
by: Ken Cox [Microsoft MVP] | last post by:
MS has posted this here: http://www.asp.net/faq/ms03-32-issue.aspx Fix for: 'Server Application Unavailable' Error after Applying Security Update for IE...
18
by: Earl Anderson | last post by:
First, I feel somewhat embarrassed and apologetic that this post is lengthy, but in an effort to furnish sufficient information (as opposed to too little information) to you, I wanted to supply all...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.