I want to create an add-in to visio so that I can draw BPMN diagrams (Business Process Modeling Notation). A similar work is available here: http://www.interfacing.com/free-visio-bpmn-modeler. But I want to create my own icons(notations) and make it domain specific. Please help me? How can I do this? What languages do I have to use?
You can develop add-ins for Visio using the Visio SDK. There are several versions, of which the 2010 SDK is the most recent. It contains samples written in C#, VB.NET, C++, and even classic VB. The best place to start learning about developing for Visio would be the Visio Developer Center.
Just download the Visio add-in. Visio allows you to create your own shapes so you can customize the shapes provided.
With Visio 2007, they introduced a rules feature so you can embellish the addin with custom rules.
Related
I use ITK 4.3, VTK and Qt on Visual Studio 9. How do I add ITK-SNAP?
I want to know the difference between ITK and ITK-SNAP and what does ITK-SNAP add compared to ITK.
I started working with ITK. Do I need to change my code or can I continue in my project?
SNAP is a software application used to segment structures in 3D medical images. It provides semi-automatic segmentation using active contour methods, as well as manual delineation and image navigation. The software was designed with the audience of clinical and basic science researchers in mind, and emphasis has been placed on having a user-friendly interface and maintaining a limited feature set to prevent feature creep. ITK-SNAP is free software, provided under the General Public License. ITK-SNAP binaries are provided free of charge for academic or commercial use.
This tutorial provides a step by step walkthrough of building ITK-SNAP 2.4.0 from source on Windows. We will be using Microsoft Visual Studio 2010 for building the application. Make sure you have VS 2010 installed and VS Service Pack 1 as well. (if required) : Click Here for full tutorial
ITK is abbrevation of Insight Segmentation and Registration Toolkit which is open source library which provide image processing algorithms to develop your application on different platforms ex python, c++.You can follow this link: http://qtitkvtkhelp.blogspot.in/2012/11/itk-installation-for-msvc.html to build ITK and use that in your application. ITK-SNAP It is an open source software you can directly install it from here. I think this is solution for all of your questions.
Gendarme and FxCop look very similar and seem to tackle the same problem. Which would you suggest for a small team of developers (3-5) mainly working on web application with lots of business logic? Why?
Gendarme is indeed the Mono equivalent of FxCop. Given that Microsoft is planning to ship a considerable set of Code Analysis rules with most versions of the next Visual Studio, you might want to use FxCop and stick with that. The integrated version of FxCop (called Code Analysis) is the simplest to use if your Visual Studio version supports it (Visual Studio 2010 Premium and Ultimate).
There is a Visual Studio add-in which allows you to run FxCop from inside Visual Studio Professional as well. You need to download FxCop 10 separately (it's part of the Windows Platform SDK). Do note that the Visual Studio integrated version comes with a few additional rules, so the output may differ.
As Gendarme doesn't integrate directly into Visual Studio (though you can make it part of the build process) and you won't see many people using Visual Studio use Gendarme. Mostly because it isn't too well known.
In the end I'd use FxCop from a convenience perspective. It's integrated into the version of Visual Studio I use by default and it's well known in the developer community.
But if you're not using Visual Studio Premium or Ultimate, then you can pick either or even both. Just keep in mind that if you choose both, you'll probably be receiving a number of duplicate messages or even conflicting messages as the creators of these different tools don't always agree.
If you don't mind investing some money, then, as niaher suggests, Resharper or Coderush are very useful additions (I wouldn't call them replacements, as they don't run outside of the IDE (in the continuous integration build for example)) as they provide direct feedback as you're writing the code. Often even without having to compile it. And they often provide the ability to "apply the fix" without you having to figure out exactly what to do.
An alternative or a good complement to FxCop/Gendarme would be to use the commercial tool NDepend. With this tool one can write Code Rule over LINQ Queries (namely CQLinq). Disclaimer: I am one of the developers of the tool
More than 200 code rules are proposed by default, these include design, architecture, code quality, code evolution, naming conventions, dead code, .NET Fx usage...
CQLinq is dedicated to write code rules that can be verified live in Visual Studio, or that can be verified during build process and reported in an HTML/javascript report.
The strength of CQLinq over FxCop or Gendarme, is that it is straightforward to write a code rule, and get immediately results. Facilities are proposed to browse matched code elements. Concretely this looks like that:
I am interested to write a GUI based tool which would generate code in return. Something similar to VB GUI interface or Xcode's Interface Builder. I am going to use QT tookkit which is cross platform.
Can you help me to point out some resources which could be helpful to make such tools?
Thanks
Qt creator comes with an integrated UI Designer. The designer can be used stand alone or integrated into Visual Studio as well.
I have a requirement where I need to extend or customize the Visual Studio using Visual Studio SDK using C++ or VC++. I have fallen out of luck and have found all the book, blogs and msdn customizing Visual Studio using C#. Need help to share me links and books on customization of VS using C++.
Regards
John.
Help appreciated !!!
Visual Studio 2005 SDK comes with few samples (FigPkg, BscPrj, MyCPrj) demonstrating extending VS using native C++. It's a good way to start.
Newer versions of SDK don't contain this samples. But VSx COM API has not changed too much. Learning internals of different non-C++ projects (MPF, MPF For Projects, VisualD) can also help you better understand how VS-extensions work.
I have a small web application based on asp.net 2010 that manages invoices.
After the invoice is saved, it should automatically generate a pdf file.
which of the following solutions would be fast and easy to incorporate?
Use Sql Server 2008 Reports
Use Crystal Reports 2008 and Crystal Reports 2008 for VS 2010
Use itextsharp to create the pdf file
Use XSLFO to create the pdf file
The point here is I dont know any of the above. Which one is easy and quick to learn and implement. Are there any other solution to achieve this functionality?
The first two options sound a bit heavyweight for your requirements.
You don't say if you require it to be free (open source) or if you are happy to pay for a solution; a quick search found this: ExpertPDF HtmlToPdf Converter
I have to admit that I have never used it but it might be an easy solution if you are already displaying the invoice on your web page.
I would go for XSL-FO as it is open standard and you are not being locked in a proprietary solution. You also have access to visual XSL-FO editors/designers and 3 or 4 high volume server to choose from.
As far as I know, many invoicing statements solutions today use XSL-FO becuse it is very powerful - you can footnotes or very complex pagination, 10-20 output formats, etc.
I personally prefer iTextSharp as it is very flexible as you build the PDF from code as you need it. However as it is a port of the iText open source java library for PDF it is not 100% intuitive (well from a c# perspective)..
However said there are a lot of help blogs and articles.
I have found:-
SQL server 2008 needs a lot of configuration and does not quite give you what you want.
You need to purchase Crystal Reports, however said it is quite a good product
iTextSharp - Free, fairly easy to set up but not 100% intuitive
I have used this and found it tough going although it is possible to get the desired ouput.
edit
For question regarding VS2010, I used it with VS2005 a number of years ago as the basic version came shipped with VS2005. According to the website it appears to integrate into Visual Studio 2010, however this I suspect depends on what version you have.
SAP Crystal Reports can open and edit
files created with SAP Crystal
Reports, version for Visual Studio
2010 (and vice-versa), providing a
fuller set of report design features
compared to SAP Crystal Reports,
version for Visual Studio 2010. SAP
Crystal Reports does not include
tooling to support the Visual Studio
2010 development environment but
developers can use the SAP Crystal
Reports, version for Visual Studio
2010 runtime engine to deploy SAP
Crystal Reports RPT files with all the
extended design features.
i have done something similar with XSLFO - if you know XSLT then XSLFO is very simple to add to XSLT
For me, using Aspose.Words with the mailmerge feature was always the fastest and most flexible/comfortable solution, although not the cheapest.
The super simple way is use third party converter such as ABCPdf, Winnovative PDF Converter. But they cost abount $500 USD.
You said you bought Crystal Report, it can use to generate pdf as well, just use Crystal Report design the pdf template, connect to your database (dataset,datatables). In your code to push data from your database and fill the pdf template finally save as pdf.
But deploy Crystal Report you need merge some modules, otherwise you need install Crystal Report on your server as well.