473,799 Members | 3,017 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I Display Visio Drawing?

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
product details you will be able to click on a button that will open
thier
Visio diagram.

I have tried to do this with the CreateObject (visio.applicat ion), but
I
would rather have the visio document embedded in a form so that all
viewing
is done in Access. The Diagram does not have to be editable, just
viewable.

I have also tried dragging and dropping the visio diagram (this does
not
allow the dynamic population I would like) and the size is
enormous...Is
there a way to make the visio diagram strech and shrink to whatever
size the
form is?

What I would do is name the visio diagram [Customer].vsd so the same
form
would be opening, but Access would dynamically populate the form with
the
correct Visio diagram.

Also, not all customers provide a visio diagram . Is it possible to
make the
button visible only when a matching diagram is present.

Any help would be appreciated.
thanks,
Jessie

Dec 29 '05 #1
1 3999

One method: Print the Visio diagram to a PDF file then place a
hyperlink to the file on a button or label. We use this approach
extensively for displaying system functionality diagrams to the user.
Of course the user can PRINT such diagrams as well as display them on
their screen.

On 29 Dec 2005 13:11:44 -0800, je******@hotmai l.com wrote:
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
product details you will be able to click on a button that will open
thier
Visio diagram.

I have tried to do this with the CreateObject (visio.applicat ion), but
I
would rather have the visio document embedded in a form so that all
viewing
is done in Access. The Diagram does not have to be editable, just
viewable.

I have also tried dragging and dropping the visio diagram (this does
not
allow the dynamic population I would like) and the size is
enormous...I s
there a way to make the visio diagram strech and shrink to whatever
size the
form is?

What I would do is name the visio diagram [Customer].vsd so the same
form
would be opening, but Access would dynamically populate the form with
the
correct Visio diagram.

Also, not all customers provide a visio diagram . Is it possible to
make the
button visible only when a matching diagram is present.

Any help would be appreciated.
thanks,
Jessie

Dec 29 '05 #2

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

Similar topics

2
6581
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
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.
2
8445
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.
0
930
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
1084
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
17409
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
1122
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
5929
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
2199
by: weird0 | last post by:
i have successfully emebedded visio drawing tool in my application. Infinite number of shapes can be added to the drawing. How can i write double click event handler for the the shapes added to my diagram? Other than that, how can i loop through all the shapes in the diagram, to get their information? Visio Guy Amir Diwan
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9538
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
10249
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
10219
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
10025
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
5461
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5584
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4138
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
2
3755
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.