Problems with Windows Control Library inside Internet Explorer

U

usenet

I have written a Control Library in VS2005 (VB.NET) and am trying to
use it inside Internet Explorer. I have copied to DLL to the same
folder as the web pages. I have tried the control in an HTML file, but
the same code in an ASPX script does not work. Also if I recompile the
DLL it seems to stop even the simple HTML file working.

Here's the object tag I'm using.

<object id="usrSheep2" codebase="#Version=-1,-1,-1,-1"
classid="WindowsControlLibrary1.dll#WindowsControlLibrary1.usrSheep"
height = "300" width = "300">
</object>

Any ideas?
 
U

usenet

I have written a Control Library in VS2005 (VB.NET) and am trying to
use it inside Internet Explorer. I have copied to DLL to the same
folder as the web pages. I have tried the control in an HTML file, but
the same code in an ASPX script does not work. Also if I recompile the
DLL it seems to stop even the simple HTML file working.

Here's the object tag I'm using.

<object id="usrSheep2" codebase="#Version=-1,-1,-1,-1"
classid="WindowsControlLibrary1.dll#WindowsControlLibrary1.usrSheep"
height = "300" width = "300">
</object>

I have figured this out myself. You need to use the gacutil /cdl
command to clear all the assemblies from the download cache.
Interestingly you need to do this even if you increase the version
number.

Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top