Visio Diagram in IE7

K

Ken

Hi,

I have a web application that call an explicit java script to draw the visio
diagram in my .net page.
However, when I try to view my web page after I upgraded to IE7, the visio
diagram cannot display anymore.
The same code is working on IE5.

The error I get is a script error – Class not registered.

The line that cause this error is - <meta
content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">

In aspx page
==========
<div id="divVisio">
<script src="../Include/CreateVisioExplicit.js"></script>
</div>

CreateVisioExplicit.js
================
var myObject = document.createElement('object');
divVisio.appendChild(myObject);
myObject.id = "vsoDiagram";
myObject.width = "588";
myObject.height = "500";
myObject.classid= "clsid:E4615FA3-23B0-4976-BD3E-D611DDBE330E";
myObject.NegotiateMenus = "0";
myObject.NegotiateToolbars = "0";
myObject.PageSizingBehavior = "0";
myObject.Src = "";

Appreciate your help on this. Thanks
 
C

Chris Roth [MVP]

Hi Ken,

Yup, IE 7 and Visio 2003 Web Export have a problem. Check out my post on
this subject at:

http://www.visguy.com/2006/11/08/save-as-web-link-problem-visio-2003-ie7/

It points to an article from the folks at Visio with two work-arounds, as
well as a free tool from DataAssist for fixing these problems. Perhaps it
will help you to understand what is wrong.

--
Hope this helps,

Chris Roth
Visio MVP

Free Visio shapes:
http://www.visguy.com/category/shapes
Visio programming info:
http://www.visguy.com/category/programming/
Other Visio resources:
http://www.visguy.com/visio-links/
 

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

Top