Visio functionality without Visio installed

P

Probke

Hi all,

I have a task to create empty Visio document file (.vsd) with single page in
it and drop few shapes there. My problem is that I have to write Windows
console application for this purpose and it must run in the server
environment where Visio is not installed. Is it possible to do that?

If I run application below on my development environment, new instance of
Visio is started. But, on my server, where my application must run, Visio is
not installed and Visio application launch will fail. What I can do in this
situation?

using System;
using System.Collections.Generic;
using System.Text;
using Visio = Microsoft.Office.Interop.Visio;

namespace MyNamespace
{
class Program
{
static void Main(string[] args)
{
Visio.Application App = new Visio.Application();
}
}
}

Development environment: Win XP, VS 2005 (C#), MS Visio 2007,
Runtime environemt: Win Srv 2003

Thanks in advance,
Probke
 

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