473,808 Members | 2,852 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hosting Visio drawing control on a webpage

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 DrawingControlC lass object in my server code

Microsoft.Offic e.Interop.VisOc x.DrawingContro lClass dr=new
Microsoft.Offic e.Interop.VisOc x.DrawingContro lClass( );
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
Nov 19 '05 #1
0 1568

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
6582
by: Hai Ly Hoang | last post by:
Hi, I want to open a visio drawing file (.vsd) from hardisk and get the list of all shape in that file ? How to do that ? Thank your very much ! Hai
0
1422
by: Lee Newson | last post by:
Hi, I have a Windows Application that utilises the Visio Drawing Control. I have written this app in VB.NET. When i dropped the control onto a form the file AxInterop.VisOcx.dll was created. When i try to deploy this app to a machine which has the .NET Framework redistributable package installed it falls over with an error saying that it cannot find the file. If i deploy it to a diiferent machine with VS.NET fully installed it works....
2
8447
by: Dursun | last post by:
Is it possible to embed Visio into a Windows Form in VB.NET? So that we can have the end user draw free form graphics and save them within a single Windows application that we developed. Thank you in advance for the info.
1
4002
by: jessprev | last post by:
Hello, I have a database with customer information. I would like to add a button that will dynamically open a visio diagram of their network based on the customer name. For example if ABCCo has a visio diagram when you open the form with the
0
931
by: Brian Mitchell | last post by:
Hello, I am using the Visio drawing control on a Windows form and it is working very well, however I have 2 remaining tasks that I can't seem to figure out. 1) How to get the drawing full screen (equivalent to hitting F5 in the Visio program). 2) How to disable the right click menu Any help would be appreciated!
0
1085
by: bsautner | last post by:
Trying very hard to develop an "activex" - i.e com visible control for use inside a visio drawing. Using VS 2005 Team Suite and i can create a windows user control that can be added to a windows form and even an MS Access Form but when i try to add it to a visio drawing using "insert - Control" menu i get: An Error (1442) occured during the action Insert Control. Visio cannon insert this control because its TypeInfo did not merge...
4
17410
by: Mike Logan | last post by:
I would like to dynamically create a Visio diagram from .Net. I tried looking at the Visio SDK, but the samples are extremely convoluted for me to understand. Does someone have an example of creating a basic drawing with two shapes connected? I can then expand that example to include other elements. Also, my plan is for this project to be an ASP.Net website. Is Visio required to be on the web server in order to generate the Visio...
0
1124
by: gkelly | last post by:
I looked a looked for an answer to this question and I have not been able to find anything. ------------------------------------------------------------------- using MSVisio = Microsoft.Office.Interop.Visio; using MSVisOcx = Microsoft.Office.Interop.VisOcx; MSVisOcx.DrawingControl v_dc = new MSVisOcx.DrawingControlClass(); MSVisio.Application v_app = v_dc.Document.Application; MSVisio.Document v_doc = v_app.Documents.OpenEx(...
14
5931
by: joemo2003 | last post by:
I created a button in excel sheet, and that button need to browse and open a visio drawing. I try two ways to do it, but either way work. can anyone help? First way: Private Sub CommandButton1_Click() Dim objVisio As Visio.Application Set objVisio = New Visio.Application objVisio.Visible = True Dim vFile As Variant vFile = objVisio.Documents.Open("All Visio Files (*.vs*; *.v?x)")
0
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10373
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10113
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.