04 May, 2007

Delphi 2007 - how to install packages and components

Hello. As I see in my statistics one of my old posts, Creating a new component package in Delphi 2005 (Win32), is very popular. Also I have notice that with appearing of Delphi 2007 for Win32 Steve Trefethen wrote a very nice tutorial which shows How to Install Components in the Delphi IDE and Nick Hodges made a great streemcast on the same topic. Now this theme is fully uncovered!

Come again!

27 April, 2007

Subversion, Continuous Integration

Hello all! As I was saying in one of my previous posts, I am going to write some articles about Continuous Integration, Subversion (SVN) and other related things. But looking on some circumstance I decided not to write about those things (well, however I'll write some short notes). The reasons are pretty simple - few guys already started to write on this topics (here and here). They are much stronger in English than me and more advanced in this field. That's why I decided to make way for them. And therewith I don't like to clone blog posts.

PS: don't forget to read a very good book about Subversion. There is also a Russian version of this book.

Come again!

-- 4/05/2007 - New useful link
Delphi and SubVersion

24 April, 2007

Problems with ASP.NET debugging in BDS 2006

Hello people! Today I want to talk about annoying things that occurs when you try to debug ASP.NET applications in Delphi 2006.

At first small prelude. Most of you are probably like me first install all necessary applications on just installed Windows Xp and only after this remember that IIS supposed to be installed before .NET framework has been installed because if you install IIS after the .NET Framework then ASP.NET will not be registered properly in IIS and you will have some problems with ASP.NET.

In order to solve this issue you should do the following:

  • Start console and browse to the "C:\WINDOWS\Microsoft.NET\Framework\(your framework version)";
  • run aspnet_regiis.exe with -i parameter;

Now ASP.NET is registered but still not in the way which will satisfy me. Why? Well, it is simple. First, if you take a look at the Documents tab in the Properties window of any ASP.NET application you won't see Default.aspx item in the Default documents list. Yes, I know that it could be easily added but after all it supposed to be there by default. Second, with out any reason ASP.NET applications works very slow and sometimes, when you try to debug them from BDS 2006, you receive some weird errors. So if you don't want to have any doubts whose fault is this, yours or Microsoft, then the following should be done -uninstall ASP.NET and reinstall it again :) Don't worry, it won't take too much of your time. Just do next and you won't regret:

  • Once again start console and browse to the "C:\WINDOWS\Microsoft.NET\Framework\(your framework version)";
  • run aspnet_regiis.exe with -u parameter;
  • then remove ASPNET account from user accounts if it is still there (Press Start>Run; type control userpasswords2);
  • run aspnet_regiis.exe with -i parameter;

Now everything will work like out of the box. But it is not the end :)

The only thing left to do is to uncomment tags of the <assemblies> and <httpModules> sections of the Web.config file of your ASP.NET application. And now everything works like it supposed to work! Hurray! Everybody happy!

Stay tuned!

22 April, 2007

New version of a great color picker tool - AdesClrPicker

Do you know that new version (2.0) of this very easy to use tool for picking colors has been released? Who said NO??? How this could happen?! Quickly check it out! A lot of new features has been introduced. You can see the list of changes and download AdesClrPicker v2.0 from here. This is a must have tool!

19 April, 2007

Interesting sample from the book

Hello. Yesterday I was reading one nice book about ASP.NET - ASP.NET: Tips, Tutorials and Code. In one chapter I have found an interesting code sample which shows how to work with Hashtable. Here is a piece of it:

Dim htSlaries As New Hashtable()

htSalaries.Add("Bob", 40000)
htSalaries.Add("John", 65000)
htSalaries.Add("Dilbert", 25000)
htSalaries.Add("Scott", 85000)
htSalaries.Add("BillG", 90000000)
' Then show this list in the label
htSalaries.Remove("BillG")
 

Now guess who is BillG?! :) Firstly he gets his salary on paper and then employers change their mind :) Probably they decided that he has got enough already.

17 April, 2007

First impression about Delphi 2007

Hello all! I finally have installed Delphi 2007 about an hour ago and now make some testdrive. Here is my first impressions:

Positive:

  • New installer became nicer and faster;
  • BDS 2007 starts faster then BDS 2006 (not pretty much but still faster);
  • The second start of BDS 2007 is definitely much faster than BDS 2006;
  • Help looks better too (hope the content became better too);
  • Finally we have Build Events!;

Negative:

  • New installer didn't want to run properly from my D: partition (Windows installed on C:);
  • Text size button in the help doesn't work (actually it works but the only thing that changes is bullets size; the text size remains the same);

More will be later!

Conclusion:

First impression is pleasant so far.

13 April, 2007

The Returning

Hello-hello! Sorry for the long period of silence. I have been out of the city and had not much opportunities to be online. Also I had to finish few projects. So in one word - busy :)

Well during that nice period I have visited the capital (Kyiv). I have spent such a great time there even in spite of the fact that I have been in the business trip :). I spent in Kyiv 3 wonderful weeks and have passed very interesting courses - Visual Studio .NET. So from now I am starting to dig dipper into the world of .NET and planing to write on this blog not only about Delphi but also about C# and .NET.

At the courses I have started to learn C#. Nice programming language but I am interesting in it only as a language for writing ASP.NET applications. All the rest I'll write exceptionally on Delphi (Delphi for .NET). Even ASP.NET applications I write in Delphi (code behind) but sometimes it is necessary to write some code in the aspx file and exactly for such situations I need to know CSharp (or at least VB.NET).

Currently I am playing with few very interesting technologies: CVS, Subversion (well now I know precisely that Subversion is better than CVS and I'll use exactly Subversion; Continuous Integration), XML Documentation and OpenTools API. More about this later.

And probably the most important thing - I am going to move my blog to the new place! Hurray! New online home for my blog will be at www.iskomorokh.com. For now this place is empty but soon everything will change. The reasons of this move are pretty obvious:

  • Desire to have more features then Blogger can give and more styles (own implementation);
  • total control;
  • great chance to have practice;
  • many other :)

See you.