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. General Programming
  3. C#
  4. Programming Visio streams on a local computer and hosted on a remote server using c#

Programming Visio streams on a local computer and hosted on a remote server using c#

Scheduled Pinned Locked Moved C#
csharpcomsysadminhelptutorial
12 Posts 6 Posters 11 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.
  • O Offline
    O Offline
    orelle
    wrote on last edited by
    #1

    Hello! I have visio running on my computer trough Microsoft Virtualization software which streams visio from a remote server. I'm writing a c# program to command visio using the reference Microsoft.Office.Interop.Vsio, when trying to instantiate the visio application "Application app=new Application()" an exception is raised and roughfully telling that Visio is not installed. Does someone, know how to address this issue? Any contributions will be really appreciated!

    Kornfeld Eliyahu PeterK Richard DeemingR 2 Replies Last reply
    0
    • O orelle

      Hello! I have visio running on my computer trough Microsoft Virtualization software which streams visio from a remote server. I'm writing a c# program to command visio using the reference Microsoft.Office.Interop.Vsio, when trying to instantiate the visio application "Application app=new Application()" an exception is raised and roughfully telling that Visio is not installed. Does someone, know how to address this issue? Any contributions will be really appreciated!

      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu Peter
      wrote on last edited by
      #2

      As you stated Visio is NOT on your computer but run via VM from some serve. So obviously Visio not installed on your local machine, but exactly that's where you run your code!!! As you want to command Visio that runs on a remote server, you have to run your code too on that remote server!!!

      I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

      O 1 Reply Last reply
      0
      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

        As you stated Visio is NOT on your computer but run via VM from some serve. So obviously Visio not installed on your local machine, but exactly that's where you run your code!!! As you want to command Visio that runs on a remote server, you have to run your code too on that remote server!!!

        I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

        O Offline
        O Offline
        orelle
        wrote on last edited by
        #3

        First of all, thank your for your contribution! In fact, i have Microsoft application virtualization app-v client installed locally on computer trough which Visio is streamed. So i can open and read manually visio as it was locally installed locally on my machine. Now, other than running the code on the server side, is there anyway using my c# code to instantiate the viio application. I think it's possible!! Thanks

        Kornfeld Eliyahu PeterK D 2 Replies Last reply
        0
        • O orelle

          First of all, thank your for your contribution! In fact, i have Microsoft application virtualization app-v client installed locally on computer trough which Visio is streamed. So i can open and read manually visio as it was locally installed locally on my machine. Now, other than running the code on the server side, is there anyway using my c# code to instantiate the viio application. I think it's possible!! Thanks

          Kornfeld Eliyahu PeterK Offline
          Kornfeld Eliyahu PeterK Offline
          Kornfeld Eliyahu Peter
          wrote on last edited by
          #4

          You think wrong! All you have of Visio on your computer is an image streamed from the server...

          I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

          "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

          O 1 Reply Last reply
          0
          • O orelle

            Hello! I have visio running on my computer trough Microsoft Virtualization software which streams visio from a remote server. I'm writing a c# program to command visio using the reference Microsoft.Office.Interop.Vsio, when trying to instantiate the visio application "Application app=new Application()" an exception is raised and roughfully telling that Visio is not installed. Does someone, know how to address this issue? Any contributions will be really appreciated!

            Richard DeemingR Offline
            Richard DeemingR Offline
            Richard Deeming
            wrote on last edited by
            #5

            When you asked exactly the same question[^] last week, you got the same answer, and decided that you would have to install Visio on each computer. You must have had a particularly exciting weekend if you'd managed to forget that in seven days! :)


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

            OriginalGriffO 1 Reply Last reply
            0
            • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

              You think wrong! All you have of Visio on your computer is an image streamed from the server...

              I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

              O Offline
              O Offline
              orelle
              wrote on last edited by
              #6

              So the only way is to develop an application which runs on the server side so that everyone having Microsoft application virtualization client can access and run its? If i'm right how to built such an application? Thank!

              Kornfeld Eliyahu PeterK 1 Reply Last reply
              0
              • Richard DeemingR Richard Deeming

                When you asked exactly the same question[^] last week, you got the same answer, and decided that you would have to install Visio on each computer. You must have had a particularly exciting weekend if you'd managed to forget that in seven days! :)


                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #7

                Nah - he was just hoping that reality had changed for the new week...

                Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                M 1 Reply Last reply
                0
                • O orelle

                  So the only way is to develop an application which runs on the server side so that everyone having Microsoft application virtualization client can access and run its? If i'm right how to built such an application? Thank!

                  Kornfeld Eliyahu PeterK Offline
                  Kornfeld Eliyahu PeterK Offline
                  Kornfeld Eliyahu Peter
                  wrote on last edited by
                  #8

                  To be hones, for now all I can tell you is that you can't do what you are tried to do here. To be able to advise you you must tell what are you want to do...

                  I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

                  "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                  O 1 Reply Last reply
                  0
                  • O orelle

                    First of all, thank your for your contribution! In fact, i have Microsoft application virtualization app-v client installed locally on computer trough which Visio is streamed. So i can open and read manually visio as it was locally installed locally on my machine. Now, other than running the code on the server side, is there anyway using my c# code to instantiate the viio application. I think it's possible!! Thanks

                    D Offline
                    D Offline
                    Dave Kreskowiak
                    wrote on last edited by
                    #9

                    WRONG! Visio is NOT installed on your machine. It's installed in a virtual machine image thats running on your machine. You have to treat that like its a remote machine, not locally installed. Your running a virtual machine on your system, not Visio!

                    A guide to posting questions on CodeProject

                    How to debug small programs
                    Dave Kreskowiak

                    1 Reply Last reply
                    0
                    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                      To be hones, for now all I can tell you is that you can't do what you are tried to do here. To be able to advise you you must tell what are you want to do...

                      I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

                      O Offline
                      O Offline
                      orelle
                      wrote on last edited by
                      #10

                      Great! The purpose of my work is to automate the drawing of my telecommunication network. In my disposal: a datase sotirng my network desciption. The idea is to read from this database and draw the network map insigth a visio sheet. Next, i will be working on how to dynamically update the map I hope it's clear! Thanks

                      Kornfeld Eliyahu PeterK 1 Reply Last reply
                      0
                      • O orelle

                        Great! The purpose of my work is to automate the drawing of my telecommunication network. In my disposal: a datase sotirng my network desciption. The idea is to read from this database and draw the network map insigth a visio sheet. Next, i will be working on how to dynamically update the map I hope it's clear! Thanks

                        Kornfeld Eliyahu PeterK Offline
                        Kornfeld Eliyahu PeterK Offline
                        Kornfeld Eliyahu Peter
                        wrote on last edited by
                        #11

                        It's clear... However it does not change my previous observation. To do so you need the Visio interop (or Visio itslef ot VSTO) where you will run your application. Running Vision in a VM does not do that for you... If the users of you application used to run applications via VM it can be a very good option to add one more in such way. Write your application on a development machine with Visio, than install on the Hyper-V and publish it to the users...

                        I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

                        "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                        1 Reply Last reply
                        0
                        • OriginalGriffO OriginalGriff

                          Nah - he was just hoping that reality had changed for the new week...

                          Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

                          M Offline
                          M Offline
                          Mycroft Holmes
                          wrote on last edited by
                          #12

                          There has been a weekend in between, stranger things have happened.

                          Never underestimate the power of human stupidity RAH

                          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