Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
QuestionDllImport question Pin
matt23lucier14-May-08 2:20
matt23lucier14-May-08 2:20 
AnswerRe: DllImport question Pin
Christian Graus14-May-08 2:38
protectorChristian Graus14-May-08 2:38 
AnswerRe: DllImport question Pin
Dario Solera14-May-08 2:46
Dario Solera14-May-08 2:46 
AnswerRe: DllImport question Pin
carbon_golem14-May-08 4:28
carbon_golem14-May-08 4:28 
AnswerRe: DllImport question Pin
matt23lucier16-May-08 8:16
matt23lucier16-May-08 8:16 
QuestionHow to include visio diagrams in C#.net application Pin
ysunil_7414-May-08 1:33
ysunil_7414-May-08 1:33 
AnswerRe: How to include visio diagrams in C#.net application Pin
Gareth H14-May-08 1:37
Gareth H14-May-08 1:37 
AnswerRe: How to include visio diagrams in C#.net application Pin
Simon P Stevens14-May-08 1:55
Simon P Stevens14-May-08 1:55 
http://msdn.microsoft.com/en-us/magazine/cc164043.aspx[^]

1) Open up your form in design view
2) In the toolbox, Right click and select "Choose Items"
3) When the dialog pops up, click the "Com components" tab
4) scroll down to "Microsoft Visio x.x Drawing Control" and tick it.
5) Hit OK
6) The control will appear in the toolbox under General.
7) Drag the control onto your form.

You can use this control to display a Visio drawing and allow the user to edit it. See the MSDN article above for a tutorial of using the control.

Note that this will bind to a specific version of Visio. The user must have that version installed to use your app. There is a way of bundling up a lite installer with your app, that the article talks about. I would assume the user still has to have a Visio license, but I'm not sure.

Simon

QuestionHow can i obtain a textbox in my webbrowser and pass the text a windows form? Pin
solbyte14-May-08 1:19
solbyte14-May-08 1:19 
AnswerRe: How can i obtain a textbox in my webbrowser and pass the text a windows form? Pin
Christian Graus14-May-08 1:37
protectorChristian Graus14-May-08 1:37 
QuestionCrystal Report Pin
mehrdadc4814-May-08 0:40
mehrdadc4814-May-08 0:40 
AnswerRe: Crystal Report Pin
ChandraRam14-May-08 1:20
ChandraRam14-May-08 1:20 
QuestionOnPaintBackground Problem. Pin
hdv21214-May-08 0:21
hdv21214-May-08 0:21 
QuestionUploading picture to server and display it in an Image control Pin
Dextter14-May-08 0:18
Dextter14-May-08 0:18 
AnswerRe: Uploading picture to server and display it in an Image control Pin
Christian Graus14-May-08 0:24
protectorChristian Graus14-May-08 0:24 
QuestionHow to customize .Net Textbox control Pin
NarVish13-May-08 23:45
NarVish13-May-08 23:45 
AnswerRe: How to customize .Net Textbox control Pin
dan!sh 13-May-08 23:53
professional dan!sh 13-May-08 23:53 
AnswerRe: How to customize .Net Textbox control Pin
Christian Graus13-May-08 23:58
protectorChristian Graus13-May-08 23:58 
GeneralRe: How to customize .Net Textbox control Pin
dan!sh 14-May-08 0:05
professional dan!sh 14-May-08 0:05 
GeneralRe: How to customize .Net Textbox control Pin
Christian Graus14-May-08 0:08
protectorChristian Graus14-May-08 0:08 
GeneralRe: How to customize .Net Textbox control Pin
dan!sh 14-May-08 0:11
professional dan!sh 14-May-08 0:11 
GeneralRe: How to customize .Net Textbox control Pin
Christian Graus14-May-08 0:22
protectorChristian Graus14-May-08 0:22 
GeneralRe: How to customize .Net Textbox control Pin
NarVish14-May-08 0:16
NarVish14-May-08 0:16 
GeneralRe: How to customize .Net Textbox control Pin
Christian Graus14-May-08 0:22
protectorChristian Graus14-May-08 0:22 
QuestionDisable copy paste in textbox Pin
D i x y13-May-08 23:08
D i x y13-May-08 23:08 

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.