Archive for the ‘Delphi’ Category
Posted by jpluimers on 2011/02/22
Often you work with projects not having the latest stuff.
Sometimes that is a good thing: latest stuff is not always best :-)
In this case, the client had Office 2003, and needed to do some Excel automation from .NET.
The development systems however had Office 2007 on it, so importing Excel defaults to the Office 2007 Primary Interop Assembly: Office version 12 in stead of 11. Read the rest of this entry »
Posted in .NET, C#, C# 2.0, C# 3.0, C# 4.0, Delphi, Development, Prism, Software Development, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools | Leave a Comment »
Posted by jpluimers on 2011/02/17
Recently, I wrote a bunch of code both in C# and Delphi to verify if two hosts are on the same IPv4 network.
Even though the public IPv4 address space is exhausted (IANA recently allocated the final two IPv4 blocks of their primary pool to APNIC, then allocated the five remaning /8 IPv4 blocks to the RIRs, thereby depleting the IPv4 pool), they are still used a lot, especially in private networks.
Over the next couple of weeks, you will see a couple of blog posts explaining:
- how to get the IPv4 addresses and network masks of network interfaces in your computer
- how to convert those to and from strings
- how to convert a host-name to a list of IP addresses
- how to lookup the current host-name
- how network masks are related to counting leading/trailing ones and zeros
- how to compare two IPv4 addresses given they have the same network masks
Those blog posts will have sample code in both Delphi and C#. And there will be unit tests to verify the underlying code.
–jeroen
Posted in .NET, C#, C# 2.0, C# 3.0, C# 4.0, Delphi, Development, Software Development | 2 Comments »
Posted by jpluimers on 2011/02/10
Greg Hewgill published a bunch Stack Overflow ebooks and StackExchange stats.
His readme explains a bit more on the books.
The blog he maintains makes up for some nice reading too.
Be sure to read the blog entry on the ebooks.
–jeroen
via Stack Overflow ebooks.
Posted in *nix, .NET, ASP.NET, C#, C# 2.0, C# 3.0, C# 4.0, Database Development, Delphi, Delphi for PHP, Development, HTML, HTML5, Java, Pingback, Power User, RegEx, Scripting, SocialMedia, Software Development, SQL, SQL Server, Stackoverflow, XML/XSD | Leave a Comment »
Posted by jpluimers on 2011/02/08
My favourite text comparison tool just got updated on February 7th, 2011.
What’s new in Beyond Compare 3.2.4.13298:
- “Select All” and “Insert” are now available in line details but affect main display.
- Fixed copying to the clipboard including gaps as blank lines.
- “Paste” is now available even if no rows are visible.
- “Edit” is no longer enabled if no rows are visible.
and more…
–jeroen
via Beyond Compare 3.2.4.13298 – Changelog – Softpedia.
Posted in Delphi, Development, Power User, Software Development | Leave a Comment »
Posted by jpluimers on 2011/02/08
I totally forgot to post this earlier this year, so here it goes:
GExperts 1.34 (Stable Release) was released on January 5, 2011.
It supports Delphi 6 to Delphi XE.
You can download it here.
From the Change Log in Readme.txt:
- General: Added support for RAD Studio XE. Minor bugfixes and updates to the help files. (Erik)
- Set FocusControl: Add tool to assign focus control of labels by selecting the related label and wincontrol or a group of wincontrols, and the tool tries to guess the label to associate with each control. (Daniel Maltarollo and Erik)
- Grep: Allow excluding any number of directories from a search.
- Grep: Always center the match line in the Grep Result context pane.
- Components to Code: Optionally generate code to free all created components (Peter Dzomlija).
- Hide/Show Non-Visual Components: Added support for TFrame designers (Erik).
–jeroen
via Download GExperts.
Posted in Delphi, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2011/02/06
Earlier this week, Red Gate announced that the new Reflector version 7 would cost USD 35, as of March 2011, and the current free version 6.6 will expire on May 30th, 2011.
That caused a lot of stir, on their forum, twitter, reddit and a lot of other places. Even an old thread at StackOverflow got a new boost. It seems Red Gate did not read Social media judo: How to turn a fight into a brand-building moment.
Here is a summary of the past, present and future of things happening around reflector, including some workarounds and alternative products.
First a bit of history.
Lutz Roeder over the years developed .NET Reflector as a free tool. A few hightlights: Read the rest of this entry »
Posted in .NET, C#, Delphi, Development, Prism, Software Development | 4 Comments »
Posted by jpluimers on 2011/02/03
A lot of places mentioned that Microsoft is offering a Windows Azure platform 30 day pass for USA people.
But visiting the Windows Azure platform 30 day pass link includes an extensive country list.
So it looks like non USA people can make use of it too.
–jeroen
Posted in .NET, Cloud Development, Delphi, Development, Software Development, Windows Azure | Leave a Comment »
Posted by jpluimers on 2011/01/31
No need to elaborate:
Reading code is way much harder than writing code. So please write readable code.
–jeroen
via Twitter / @Erik van Appeldoorn: Reading code is way much h ….
Posted in .NET, Delphi, Development, Software Development | Leave a Comment »