Apr 062005
 

Visual Studio has support for VB.NET, C#, J# and C++.NET. But I’m only going to use C#. So I think I’m going to look into Visual C# Standard. I lacks remote debugging, and most of the deployment options of Visual Studio. And MSDN Library says that it lacks:

The “server” node in the Server Explorer.
* Developers will commonly use this feature to visually design server-side solutions.

I’m not sure if I’m going to miss this feature. Update: I’m not going to miss this feature. It’s the database-connections treeview. Handy feature when you have it, but I won’t miss it when it is not.

Visual C# Standard only costs US$109.

 Posted by at 15:27
Apr 052005
 

As you guys (any galls around?) know by now, I’m evaluating what to upgrade to. Currently I’m a Delphi 6 Enterprise user, and have the choice of upgrading to Delphi2005 or Visual Studio .NET 2003 (or 2005 if I wait any longer…) You’ve read my ramblings and I’m stabilizing in my choice (which is in slight favour of VS.NET on features).

When evaluating, one has access to Borland’s Delphi2005 Architect edition (available as download), and to Microsoft’s Visual Studio .NET 2003 Professional (available in seperate ways, I got mine from the free Microsoft Visual Basic .NET Resource Kit DVD).

Both Delphi and VS.NET come in several flavours, Delphi’s trial is their biggest, VS.NET’s is Microsoft second biggest (they also got an Architect version above Professional). When I’m trying either product, there is no way in the world that’s gonna tell me: you still can cope with the cheapest version, still the cheapest version, oh oops, now you need the professional version, still professional, compile->run, professional version is what I need for this kind of project.

Is there an analysis tool for either Delphi2005 or for VS.NET projects to tell you which version one needs? This tool (if it exists) would serve another goal: if you’re going to release your source (for whatever reason), you can tell the users: you need at least this-and-that version of the IDE.

 Posted by at 22:55
Apr 052005
 

Yesterday, I managed to create a button in Microsoft Word (with the highly sophisticated functionality of displaying ‘you pressed the button’ when … you press the button), something I’ve been unable to pull of in Delphi for quite some time. Automating Word (basically creating an Ole-object and controlling it) is not so difficult as it might seem when you start, but doing so from within Word (read: creating an add-in) is not something very well documented if you’re using Delphi.
I found an article in the Microsoft Knowledgebase via CodeProject that explains how to create a very simple add-in. And that was all I needed, and all I have been searching for quite some time now.

The generated add-in (DLL) must be registered (regasm) and be put in the addins-directory (e.g. c:program filesmicrosoft officeoffice11addins) and that’s about it.

WRap (Word Rapportage, Dutch for Word Reporting) is a working title, so I need to think of something that’s not already there in the crowded land of reporting tools.

 Posted by at 09:50
Apr 032005
 

I’m not sure why nobody commented on my last post. Either because you did not know the answer, or you cared not to write it down. Anyways: my “huh” reaction was triggered by the fact that the PDF was supposed to be a QUICK reference (as the title says), but it’s is 432 pages. That’s not Quick Reference, that’s the truth, the whole thruth and nothing but the thruth!

BTW You can download this FREE ebook at TheServerSide.NET.

 Posted by at 22:56
Apr 012005
 

I was browsing some websites this afternoon, and read somewhere (I think on the DailyWTF forums) that Java and C# syntax are almost the same. So this evening I thought: why not give it a try and create a simple C# web-application. So here I go…

1) Start Delphi2005
2) File->New->C# web application
3) Give it a name etc.
4) Look at the canvas: it says “Form is in gridbaglayout. If you want to …. blablabla”.
5) Now drop a button on the form
6) Move the button
7) Try to move it again
8) Don’t get annoyed: it’s not possible.
9) Close all and exit Delphi2005

Now do the same, except change the first into:

1) Start VS.NET
.
.
.
7) Hey, the button has moved
8) Be surprised, but…
9) Continue coding

If that’s not a WTF, than what is? Perhaps this is: running the (not so good looking) page/application (just some inputfields and buttons doing nothing) for the second time gave me the annoying “can’t connect to the asp workerprocess” error. VS.NET has no trouble running the pages time after time.

View what I did here. Please comment if this is a known bug that I did not know about (quite possible) or if you know that I did something utterly stupid (extremely possible).

 Posted by at 00:18