Click here to Skip to main content
15,892,480 members
Home / Discussions / C#
   

C#

 
QuestionHow do i use this method in my program? IRawCDImageTrackInfo::get_ISRC Method Pin
monkh3-Apr-09 6:22
monkh3-Apr-09 6:22 
AnswerRe: How do i use this method in my program? IRawCDImageTrackInfo::get_ISRC Method Pin
led mike3-Apr-09 6:32
led mike3-Apr-09 6:32 
Questioncan someone help me figure out a right way to work with xml and array Pin
faizych3-Apr-09 5:23
faizych3-Apr-09 5:23 
AnswerRe: can someone help me figure out a right way to work with xml and array Pin
led mike3-Apr-09 5:38
led mike3-Apr-09 5:38 
GeneralRe: can someone help me figure out a right way to work with xml and array Pin
faizych3-Apr-09 6:46
faizych3-Apr-09 6:46 
GeneralRe: can someone help me figure out a right way to work with xml and array Pin
led mike3-Apr-09 8:18
led mike3-Apr-09 8:18 
AnswerRe: can someone help me figure out a right way to work with xml and array Pin
Mirko19803-Apr-09 5:42
Mirko19803-Apr-09 5:42 
QuestionUsing Visio 2007 Pin
cdpace3-Apr-09 5:01
cdpace3-Apr-09 5:01 
Helo,

I need to create a dynamical organization chart using visio from C# code.

Currently im using the following code only to test nothing special.

if (openFileDialog1.ShowDialog() == DialogResult.OK)
               {
                   axViewer1.SRC = openFileDialog1.FileName;
                   Microsoft.Office.Interop.Visio.Application app = new Microsoft.Office.Interop.Visio.Application();
                   Microsoft.Office.Interop.Visio.Page currentpage = app.Documents.Open(openFileDialog1.FileName).Pages[1];
                   Microsoft.Office.Interop.Visio.Document stencil = app.Documents.OpenEx("Basic_U.vss", (short)Microsoft.Office.Interop.Visio.VisOpenSaveArgs.visOpenDocked);
                   //Microsoft.Office.Interop.Visio.Window stencilwindow = currentpage.Document.OpenStencilWindow();
                   //app.SaveWorkspaceAs(@"C:\Users\Chris\Desktop\tezt.vsd");

                   Microsoft.Office.Interop.Visio.Shape shape2 = currentpage.Drop(stencil.Masters["Square"], 10, 7.50);

                   // create a dynamic connector from the stencil master collection
                   Microsoft.Office.Interop.Visio.Shape connector = currentpage.Drop(stencil.Masters["Dynamic connector"], 4.50, 4.50);


               }


now the problem is here. On my computer the application is working fine because i have Visio 2007 installed and shapes are added etc.. but when the application is going to be used by the clients and they dont have visio installed the whole applicaiton wont work. Is there a way which i can create the charts dynamicaly at runtime without visio being installed??
AnswerRe: Using Visio 2007 Pin
Deresen3-Apr-09 5:14
Deresen3-Apr-09 5:14 
GeneralRe: Using Visio 2007 Pin
cdpace3-Apr-09 5:17
cdpace3-Apr-09 5:17 
GeneralRe: Using Visio 2007 Pin
Deresen3-Apr-09 5:26
Deresen3-Apr-09 5:26 
GeneralRe: Using Visio 2007 Pin
Dan Neely3-Apr-09 5:33
Dan Neely3-Apr-09 5:33 
QuestionXML with sql 2005 Pin
Maverickcool3-Apr-09 3:47
Maverickcool3-Apr-09 3:47 
AnswerRe: XML with sql 2005 Pin
Le centriste3-Apr-09 3:50
Le centriste3-Apr-09 3:50 
QuestionDeserialise ACLs from HKLM\SOFTWARE\Classes\AppID\{ID}\LaunchPermissions Pin
DanielWehrle3-Apr-09 3:14
DanielWehrle3-Apr-09 3:14 
QuestionFishing for Ideas (C# file copy) Pin
compninja253-Apr-09 3:12
compninja253-Apr-09 3:12 
AnswerRe: Fishing for Ideas (C# file copy) Pin
Eddy Vluggen3-Apr-09 4:07
professionalEddy Vluggen3-Apr-09 4:07 
GeneralRe: Fishing for Ideas (C# file copy) Pin
compninja253-Apr-09 5:49
compninja253-Apr-09 5:49 
GeneralRe: Fishing for Ideas (C# file copy) Pin
Eddy Vluggen3-Apr-09 7:47
professionalEddy Vluggen3-Apr-09 7:47 
QuestionC# Networking: Handling Clients? Pin
Abydosgater3-Apr-09 3:10
Abydosgater3-Apr-09 3:10 
AnswerRe: C# Networking: Handling Clients? Pin
Skymir3-Apr-09 7:59
Skymir3-Apr-09 7:59 
QuestionDoes Click Once download files not modified? Pin
l.m.k3-Apr-09 2:45
l.m.k3-Apr-09 2:45 
AnswerRe: Does Click Once download files not modified? Pin
Henry Minute3-Apr-09 3:33
Henry Minute3-Apr-09 3:33 
QuestionMulti-Threading Pin
linto_113-Apr-09 2:44
linto_113-Apr-09 2:44 
Answerverrrry urgent Pin
Luc Pattyn3-Apr-09 2:52
sitebuilderLuc Pattyn3-Apr-09 2:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.