X
xargon
Hi everyone,
This is more of a Visio web developer question!
I have a visio compatible XML string that I want to flush to the client
machine. I want to know how to set the MIME type and pass the XML string
so that it opens it in VIsio on the client machine. I tried setting the
"application/x-visio" in the response object's content type field, but
that only tries to save it as an ASP.NET page!
Well, I even tried registering the MIME type with IIS and setting the
content type field to application/vnd.visio.xml. Then, in my application I
do:
Response.Clear();
Response.Charset = "";
Response.ContentType = "application/vnd.visio.xml";
But it still interprets it as a ASP page. I also tried
"application/vnd.ms-visio". That also did not work. When I use
application/vnd.visio then it tries to interpret the document as the
native Visio format
Also, I noticed something with IE. Some macros and ActiveX creation within
Visio do not work, even if user enables macro on prompt. What I wanted was
to stream the visio content to the client, start an instance of visio and
be able to use all the features. I do not want the IE to host Visio
application inside.
Guys, please help me! I would be in deep trouble. I should have looked at
this before doing all this development! I would be even willing to pay
some bucks to someone who helps here!
Cheers!
xargon
This is more of a Visio web developer question!
I have a visio compatible XML string that I want to flush to the client
machine. I want to know how to set the MIME type and pass the XML string
so that it opens it in VIsio on the client machine. I tried setting the
"application/x-visio" in the response object's content type field, but
that only tries to save it as an ASP.NET page!
Well, I even tried registering the MIME type with IIS and setting the
content type field to application/vnd.visio.xml. Then, in my application I
do:
Response.Clear();
Response.Charset = "";
Response.ContentType = "application/vnd.visio.xml";
But it still interprets it as a ASP page. I also tried
"application/vnd.ms-visio". That also did not work. When I use
application/vnd.visio then it tries to interpret the document as the
native Visio format
Also, I noticed something with IE. Some macros and ActiveX creation within
Visio do not work, even if user enables macro on prompt. What I wanted was
to stream the visio content to the client, start an instance of visio and
be able to use all the features. I do not want the IE to host Visio
application inside.
Guys, please help me! I would be in deep trouble. I should have looked at
this before doing all this development! I would be even willing to pay
some bucks to someone who helps here!
Cheers!
xargon