A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Visio
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Visio functionality without Visio installed



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 15th, 2010, 06:14 PM posted to microsoft.public.visio.general
Probke
external usenet poster
 
Posts: 1
Default Visio functionality without Visio installed

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


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:08 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.