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

Home Posts Topics Members FAQ

Visio Automation - 2 Questions

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!

Thanks!!
Jun 16 '06 #1
0 931

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
1142
by: Tim Bücker | last post by:
I´ve got a short and simple question but I am afraid only a few people know the answer. In a visio automation code I´ve seen a code like this: nRows = shpObj.RowCount(Visio.visSectionProp) Unfortunately there is no Visio.visSectionProp in C#. What is its aquivalent in C#? Thanks A LOT for any help. Greetings,
0
1568
by: anonymous | last post by:
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.
4
6118
by: Just D | last post by:
All, If there is a more or less simple way to import the classes and their relations and create the Microsoft Visio diagram? I can't imagine that I need to do that manually, only if I have no choice... :( Just D.
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...
1
2531
by: =?Utf-8?B?SkFXQUFIQVI=?= | last post by:
i just wanted to hide visio stencil blocks from my parent form. in child form i used thie following code to hide. DrawingControl.Window.Windows.ItemFromID(Microsoft.Office.Interop.Visio.VisWinTypes.visWinIDShapeSearch).Visible = False if i run visio document form seperately visio stencil blocks are not visible. if i calling the visio document form from my parent form but visio stencil blocks are visible.
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(...
4
5372
by: =?Utf-8?B?Um9i?= | last post by:
I need to create graphical objects and connect them with relationship connectors that bind to the objects similar to Visio's connectors. (The connector stay connected when the object is moved by the user.) I have the objects, but I need to create the connectors. I was wondering if anyone knows of a good example of binding connectors code that I can research. Or even how to draw a connect line as part of a user control. Any help is...
0
3610
by: frederick.the.fool | last post by:
I'm writing a project that does Visio automation. I'm writing it in C+ +/CLI because it needs to reference a good amount of native C++ code. One way to call the Visio API, of course, is to use the COM interface provided in Visio SDK. However, a colleague of mine has been using Microsoft.Office.Interop.Visio in his VB.NET project, which is far more convenient than COM. I thought I could do the same in C++/CLI, but it didn't work....
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
10628
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
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...
0
9195
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
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();...
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

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.