• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1666
  • Last Modified:

How to embed a visio viewer in Windows Form

Hi experts,

I have a web application wich embed visio drawings with an activex, I want to add this functionality to my WinForm application.
Is there a way to do this, beside using a webbrowser control with a html page containing the activex.
0
hqdev
Asked:
hqdev
  • 2
1 Solution
 
DhaestCommented:
Host an Interactive Visio Drawing Surface in .NET Custom Clients
http://msdn.microsoft.com/nl-be/magazine/cc164043(en-us).aspx
0
 
hqdevAuthor Commented:
This requires visio installed, I only want a viewer like we have for a web page.
0
 
Bob LearnedCommented:
Well, you could use one ActiveX control to host Office control (DSOFramer):

Hosting Office in .NET applications
http://blogs.msdn.com/erikaehrli/archive/2005/08/26/hostofficeinnet.aspx

<Quote>If you are building a .NET application and you are struggling to find a way to host Word documents, Excel spreadsheets, Visio drawings, Project files, or PowerPoint presentations, you might consider using the Visual C++ ActiveX Control for hosting Office documents.</Quote>
0
 
hqdevAuthor Commented:
That did the trick, thanks!
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now