473,382 Members | 1,322 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

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.application), 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 3976

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******@hotmail.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.application), 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 #2

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

Similar topics

2
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
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 ...
2
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...
0
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...
0
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...
4
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...
0
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 =...
14
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...
0
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.