473,473 Members | 1,415 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Visio and .NET

Hi,

Can anyone show me how to generate classes from viso(.vsd) class diagram
using MS Visual Studio.NET 2003

Thanks in advance,

Srinivas
Nov 18 '05 #1
4 2590
To have Visio (Enterprise Architect) generate VB.NET code for you:

1) Create a new Software | UML Model Diagram

2) Drag classes onto your new diagram and double click on them to configure the properties and methods that you want your objects to have.

3) From the UML dropdown menu select Code | Generate. You can choose VB.NET or C#.



Tip: If you don't like the default format of the code generated by Visio, you can change the code generation templates from the UML dropdown menu by selecting Code | Preferences.



Tip: Visio has a UML toolbar button that integrates with Visual Studio.NET. You can reverse engineer existing software by clicking this toolbar button while your project is open. This will create a UML diagram of your code.



Using the above techniques you can always have an up-to-date UML model of your code.
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com


"Reddy" <an********@NO.JUNK.MAIL> wrote in message news:e0**************@TK2MSFTNGP09.phx.gbl...
Hi,

Can anyone show me how to generate classes from viso(.vsd) class diagram
using MS Visual Studio.NET 2003

Thanks in advance,

Srinivas

Nov 18 '05 #2
To have Visio (Enterprise Architect) generate VB.NET code for you:

1) Create a new Software | UML Model Diagram

2) Drag classes onto your new diagram and double click on them to configure the properties and methods that you want your objects to have.

3) From the UML dropdown menu select Code | Generate. You can choose VB.NET or C#.



Tip: If you don't like the default format of the code generated by Visio, you can change the code generation templates from the UML dropdown menu by selecting Code | Preferences.



Tip: Visio has a UML toolbar button that integrates with Visual Studio.NET. You can reverse engineer existing software by clicking this toolbar button while your project is open. This will create a UML diagram of your code.



Using the above techniques you can always have an up-to-date UML model of your code.
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com



"Reddy" <an********@NO.JUNK.MAIL> wrote in message news:e0**************@TK2MSFTNGP09.phx.gbl...
Hi,

Can anyone show me how to generate classes from viso(.vsd) class diagram
using MS Visual Studio.NET 2003

Thanks in advance,

Srinivas

Nov 18 '05 #3
Thanks Steve.

I have Visio 2002 Prof and VS.NET 2003 Prof.
From the info you have given me I have to install Visio(Enterprise Architect). Is Visio(Enterprise Architect) a separate product than Visio 2002 Prof?

Thanks,

Srinivas

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message news:ei**************@TK2MSFTNGP09.phx.gbl...
To have Visio (Enterprise Architect) generate VB.NET code for you:

1) Create a new Software | UML Model Diagram

2) Drag classes onto your new diagram and double click on them to configure the properties and methods that you want your objects to have.

3) From the UML dropdown menu select Code | Generate. You can choose VB.NET or C#.



Tip: If you don't like the default format of the code generated by Visio, you can change the code generation templates from the UML dropdown menu by selecting Code | Preferences.



Tip: Visio has a UML toolbar button that integrates with Visual Studio.NET. You can reverse engineer existing software by clicking this toolbar button while your project is open. This will create a UML diagram of your code.



Using the above techniques you can always have an up-to-date UML model of your code.
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com



"Reddy" <an********@NO.JUNK.MAIL> wrote in message news:e0**************@TK2MSFTNGP09.phx.gbl...
Hi,

Can anyone show me how to generate classes from viso(.vsd) class diagram
using MS Visual Studio.NET 2003

Thanks in advance,

Srinivas

Nov 18 '05 #4
I think you need the Enterprise Architect verson which is enhaced with the capabilities you need.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Reddy" <an********@NO.JUNK.MAIL> wrote in message news:%2****************@tk2msftngp13.phx.gbl...
Thanks Steve.

I have Visio 2002 Prof and VS.NET 2003 Prof.
From the info you have given me I have to install Visio(Enterprise Architect). Is Visio(Enterprise Architect) a separate product than Visio 2002 Prof?

Thanks,

Srinivas

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message news:ei**************@TK2MSFTNGP09.phx.gbl...
To have Visio (Enterprise Architect) generate VB.NET code for you:

1) Create a new Software | UML Model Diagram

2) Drag classes onto your new diagram and double click on them to configure the properties and methods that you want your objects to have.

3) From the UML dropdown menu select Code | Generate. You can choose VB.NET or C#.



Tip: If you don't like the default format of the code generated by Visio, you can change the code generation templates from the UML dropdown menu by selecting Code | Preferences.



Tip: Visio has a UML toolbar button that integrates with Visual Studio.NET. You can reverse engineer existing software by clicking this toolbar button while your project is open. This will create a UML diagram of your code.



Using the above techniques you can always have an up-to-date UML model of your code.
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com



"Reddy" <an********@NO.JUNK.MAIL> wrote in message news:e0**************@TK2MSFTNGP09.phx.gbl...
Hi,

Can anyone show me how to generate classes from viso(.vsd) class diagram
using MS Visual Studio.NET 2003

Thanks in advance,

Srinivas

Nov 18 '05 #5

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

Similar topics

2
by: Stefan Svensson | last post by:
I posted this request for help in Visio, troubleshooting newsgroup and Installation newsgroup, about 1,5 months ago but without result. "I recently installed Visio .NET Enterprise Architect 2003...
3
by: Roman S. Golubin1709176985 | last post by:
All how do you do! Who what cases uses for C# programming? I have an experience with Microsoft Visio several days. He has a problem with interface inheritance... óan who that other advise? ...
1
by: carqs123 | last post by:
I used Rational Rose UML for quite some time. When I generated code it didn't clobber my code. Rose put little markers which stated here you can put your personal modifications and Rose will...
1
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...
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...
2
by: Dominic | last post by:
I try to use Visio filter but it needs to install by using installation package from Microsoft. If I need to use only DLL for extract text from vsd with my application, how can I do? I need...
1
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....
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...
5
by: cmk128 | last post by:
Hi I need to create a website, the function of the web should near microsoft visio. Please tell me what php library can let me to create a sharp on the web, and able to drag it and put a line to...
0
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...
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...
0
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,...
0
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...
0
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...
1
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...
1
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...
0
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...
0
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 ...
0
muto222
php
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.