Class Diagram in PowerDesigner 15 and C# 3.0 Properties - powerdesigner

I am using PowerDesigner 15 and I want the generated code preview of each class designed to be using C# 3.0 Properties, not attributes and a "set_Att get_Att" of java!
How can I do it?
Tnx

PowerDesigner 15.3 only supports C# 2.0.
You will have to edit the language definition yourself...
C# 2::Profile\Attribute\Stereotypes\Property\Templates\definition seems to be a good starting place, with the related C# 2::Profile\Attribute\Stereotypes\Property\Templates\Helpers\getOperation...

Related

qt designer and data bound controls?

can I use QT Designer 4 to create / design tables or other controls with automatic binding to database connections?
Or must I write specific code for that in my application?
(i'm using python 2.5 with pyqt 4.8 on Windows xp, if it matters)
Thanks.
Yes, Qt supports this using the MVC model, but you need some code (not too much really) to make the Database connection and some settings of a QSqlTableModel, which can be later shown with a QTableView.

What tools are available to create a help file in Visual Studio 2010?

I need to write a help file for a WinForms app in Visual Studio 2010. Ideally, I'd like to use a tool that integrates with Visual Studio, rather than a totally separate tool.
In the past I've used HTML Help Workshop, but this is ancient, and I recall it was a little funky to use. I also know there was a tool built into the Visual Studio 2005 SDK, but I need something for 2010.
Here are your options...
If you want Microsoft's documentation generator with VS integration:
Sandcastle Help File Builder for help file generation
DocProject to integrate it into VS
Although, it appears that DocProject doesn't quite support VS2010 yet.
For the Non-MS solution there's GhostDoc, which does support VS 2010 integration and appears to be a better solution.
For options that don't integrate into Visual Studio:
DoxyGen
Docu
NDoc3
it is an awkward target for tool vendors. In most shops, the help is authored by professional writers that don't have any use for Visual Studio in their day-to-day activities. Third party authoring tools like RoboHelp is their preferred weapon of choice.
The VS2005 SDK tool you probably saw was HelpStudio Lite, a product of Innovasys. There is no version available that integrates with VS2010 and judging from a forum post they have no intention of releasing one. Their Document X! product however does, sounds like what you ought to take a look at. The eval version is available for download from here.
I remember that a year or so ago some people on Joel's The Business of Software forum were recommending HelpNDoc.
Forum discussion: http://discuss.joelonsoftware.com/default.asp?biz.5.359131.10
As others have said, you can convert the triple slash XML MSDN-style help using Sandcastle on all class-level members and objects
/// <summary>
/// I am a method help Header
/// </summary>
/// <param name="parm1">info for param 1</param>
/// <param name="parm2">info for parm2</param>
/// <remarks>Some Extra Info</remarks>
public override void MeMethod(SourceElement rootElm, Subject subject){
...
Here is the link to Sandscastle
A more feature-rich help generator that integrates with Visual Studio 2010 and generates multiple help formats is VSDocMan . It includes a WYSIWYG comment editor, and actually comments some of your code for you. Extremely useful
ghost doc with documentx or sandcastle is the way to go...Rest is all still very primitive when it comes to 2010. If you have project both c# and C++ then documentx will be the way if its just C# then any one is good.
If the audience for your help file is the user of the application html help 2 is not usable, you will still need to create a chm file. The tool which can do this for your from your winforms application is Help Generator for Visual Studio, which takes away a lot of work in preparing the help and linking it to the forms.
Probably doesn't integrate with VS2010 but I remember using RoboHelp back around '97 and it was ok:ish then so if I needed to write helpfiles now I'd probably give that another look since it seems like it's still around here. Fairly expensive though it seems but if you've got some Adobe licenses (which isn't totally unsual for a development shop) for some other reason maybe you've already got this?
Html Help, is replaced by Html Help 2.
http://www.mshelpwiki.com/wiki/tiki-index.php?page=Help2
Just been doing a lot of research and after testing various tools the http://www.helpgenerator.com/ is the fastest way to put together a help system.

Is it possible to use WPF and Delphi 2007/09 win32?

Is it?! Possible?
Yes, you can, with a product called "Hydra" from RemObjects:
http://www.remobjects.com/hydra.aspx
They have a demo showing embedding a WPF graph in a Win32 application.
As Ken White notes, you can develop all your .Net stuff in Delphi Prism. It can then be leveraged in Win32 using Hydra if you like.
You can take a look at TMS .NET Interop Tools Pack. It contains components to display xaml and xps-files in your delphi-application. How well this works - and if it works well enough to switch from vcl to xaml, I don't know...
No. Delphi 2009 doesn't support .NET at all, and Delphi 2007 doesn't support version 3.x of the .NET framework. You can use WPF with Delphi Prism, though.

XDocument Class in VB.NET

I am learning Silverlight and WPF on my own to expand my programming base. I am following this tutorial, and I am currently stuck on part 3. I am up to the point where my application requests and receives a response from Digg, but I cannot figure out how to properly dimension the XDocument class (as the tutorial shows) to read the xmlcontent that is retrieved.
Granted, the tutorial is in C# (which I know very little about), but I do not see why I cannot access this class. IntelliSense suggested replacing XDocument with Document.Run, but that got me nowhere. I also read that this class was part of the System.Xml.Linq namespace, but even trying to dimension my variable as
Dim xS as System.Xml.Linq.XDocument
Gives me nothing. Anyone know what I can do?
If I recall correctly you need to add the System.Xml.Linq dll in the project references.
What version of .Net/Visual Studio are you using? XDocument wasn't added to the framework until .Net 3.5.
As the above posters mentioned Linq is a .Net 3.5 addition.
I had a very similar problem recently trying to used linq features in what I thought was a 3.5 enabled app but my web.config was from an older project.
If you know you have 3.5 installed, try making a new project and add your code back into it.

Any tool that can upgrade .NET 1.1 WinForm code to .NET 2.0 "style"?

I mean a tool that can extract certain contents from old .NET 1.1 WinForm code and put it in .designer file (make it looks like .net 2.0 WinForm code). This also involves an update to the project file (.csproj/.vbproj)..
If no existing tool yet, any tip or pointer on how to do this by programming?
It is possible to do using a macro, have a look at this article for the macro code.
If anyone else is looking to do this for VB.net (as I did) the only example I could find was this one in c# but it gave me a basis and we got it to work with a vb project.

Resources