Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. MIME types for Visio

MIME types for Visio

Scheduled Pinned Locked Moved Web Development
csharpc++asp-netcomwindows-admin
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pankajdaga
    wrote on last edited by
    #1

    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! /** I'm the one who's gonna have to die When it's time for me to die So let me live my life The way I want to - Jimi Hendrix */

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups