Programming Visio streams on a local computer and hosted on a remote server using c#
-
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!
-
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!
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)
-
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)
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
-
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
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)
-
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!
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
-
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)
-
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
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 – ∞)
-
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!
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)
-
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
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 -
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)
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
-
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
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)
-
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 – ∞)
There has been a weekend in between, stranger things have happened.
Never underestimate the power of human stupidity RAH