Graphical representation of an app using Visual Studio 2008 Professional edition - visual-studio

Is there a way in Visual Studio 2008 Professional edition to create a graphical representation of an application? What I am looking for is a flowchart or other design graph that shows each program in the app and how they relate to other programs and files in the app. I can create one using Visio, but wanted to know if there is something built into Visual Studio that can do this.

Yes.
In the solution explorer, right click on your project, and choose Add->New Item...
In the Project Items, add a "Class Diagram".
This lets you create a class diagram, which can be used to show inheritance and other relationships between your classes.

Related

Is there any way to view GUI in Enterprise Architect that was imported from Visual Studio 2019?

As it happened, I have to develop several GUI forms in both Visual Studio 2019 and Enterprise Architect for my university studies.
I found out a way to import Visual Studio 2019 project into Enterprise Architect 15.0, but I cannot see it as graphical forms - the way I can see it in Visual Studio's Form Design window. I mean buttons, checkboxes, etc, not the source code. Now I can see only the source code in Enterprise Architect.
That is what I see in Enterprise Architect Browser
This is what I see in VS, but can't find a way to do the same in Enterprise Architect
Is there any way to switch the view?
Basically no. EA is no forms design tool but an UML modeling tool. There are UI profiles
you could use to do UI sketches. EA won't create that from a code import. You could use these profiles but I doubt it will be useful. Stick with your VS to model the GUI.

How to Add Controls To The Visual Studio 2010 Express Toolbox (Code, System Files, etc)?

We need to enhance the installer for our WindowsForms.NET grid component: we should have the ability to add it to the Toolbox in a VS 2010/2012 Express edition (VB, C#, ...) while installing the product. We can do that for all non-Express editions using the well-known EnvDTE.DTE object, but this does not work for Express.
Is there an approach to achieve the goal? Say, change some system files (system for VS)? I.e., maybe, VS stores the toolbox item list somewhere in a file so we can access it and change accordingly? And maybe, this way can be used for all non-Express editions too?
Yes, there is a multitude of approaches:
manual installation
Toolbox Controls Installer (TCI)
Visual Studio Automation Object Model (DTE)
VSI, VSIX packages
VSPackage
I wrote a tutorial article discussing them in more detail:
Visual Studio Toolbox Control Integration
I think the TCI approach would work with the Express edition of Visual Studio. Also the VSI and VSIX packages are quite convenient way to make sure the components get installed.

How do I create a GUI add in for excel?

I've done some mucking around on Google but I still can't find what project this would be in Visual Studio. I want to create a GUI add in for Excel, for example a dock window on a ribbon with a windows form. What project would this be in Visual Studio? I have tried Excel add in but I don't know if this has the GUI component I'm looking for.
Microsoft offers you "Visual Studio Tools for Office" (VSTO) for this purpose, see here for more information.
http://en.wikipedia.org/wiki/Visual_Studio_Tools_for_Office#External_links
But if you want a more lightweight solution, and you need it only for Excel, I suggest you have a look at Excel DNA
http://exceldna.codeplex.com/
This is freeware, mature, works even with the Express editions of Visual Studio and different from VSTO you can combine every supported .NET version with every Excel version and every Visual Studio version you like. I have created some Excel addins with Excel DNA on my own, and I love it.

Visual Studio Pro 2010 - Modelling Projects?

I have VS2010 Pro - at my uni I can start a Modelling Project, to plan projects with UML, but here at home the template set isn't there...
Is there something I need to install/do to get this functionality?
Many of the architect features in Visual Studio 2010 is only available in the Ultimate Edition. Which version do you have at home ? The Express version does not include UML modelling (other than Class Diagram I believe).
You can see a comparison diagram here. I think the features you are looking for is the Architecture Explorer and "UML® 2.0 Compliant Diagrams (Activity, Use Case, Sequence, Class, Component)", which is only available for Ultimate.

How to generate a sub system diagram from visual studio solution

Is there any way to generate a sub system diagram of an application from its visual studio solution?
I am not looking to generate a class diagram.
Visual Studio 2010, at least in the 2010 Ultimate edition, has an "Architecture" menu item with a "Build Dependency Graph" option. One of the options is to build the graph "by Assembly." It sounds like that is what you are after.

Resources