Hosting Visio drawing control on a webpage

A

anonymous

Hi all,
I am using Visio drawing control (Visio automation object model) in my
asp.net web page.

I have a code which creates a DrawingControlClass object in my server code

Microsoft.Office.Interop.VisOcx.DrawingControlClass dr=new
Microsoft.Office.Interop.VisOcx.DrawingControlClass( );
i am using the drawing control to get access to the Application object so i
am creating it only on the server.
When i run this application everything works fine but when i rerun the
application i am gettting
"Class not registered" COMException but when i do a IISReset the problem
goes of and reoccurs the second time i execute this.
Anybody who has used the drawing control on a webpage Can u please throw
some insight on how to about using this control ?
Regards
 

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

Staff online

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top