Thoughts from Dan Miser RSS 2.0
 Wednesday, March 30, 2005
Somewhere along the way of installing and customizing Delphi 2005 with update 2, various 3rd party packages, and customizations, I lost the ability to view the contents of the Delphi 2005 help file. In order to get this functionality back, I used this fix:
"c:\Program Files\Borland\BDS\3.0\Help\Common\regHelp 7"

After this command executed and the help was rebuilt, everything was fine again.
Wednesday, March 30, 2005 9:27:00 AM (Central Standard Time, UTC-06:00)  #    Comments [3] -
Delphi
 Wednesday, March 23, 2005
I went to a meeting yesterday where the topic was the Enterprise Library offering from Microsoft. To get a feel for what Enterprise Library is all about, take a look at the Webcasts on the right-hand side of this page.
Wednesday, March 23, 2005 7:49:00 AM (Central Standard Time, UTC-06:00)  #    Comments [0] -

 Monday, March 21, 2005
I just heard about the new changes to BorCon. Some background: To my best guess, I've been a speaker at 6 or 7 BorCons. There were also 2 that I was asked to speak at that I had to turn down. I've also attended 2 or 3 more BorCons as an attendee, so I've been around the proverbial BorCon block.

The new BorCon format has a good side: it appears that Borland is getting back to their roots in making this more of a developer-centric event.

On the bad side, speakers will no longer be given their extremely modest stipend, but more importantly, Borland will not cover travel or hotel expenses for their speakers.

My take on this is that this move will kill BorCon. It looks like others are in violent agreement with me on the ramifications of this move. I'm sorry to see this happen, as I absolutely love BorCon. I sent a polite response to the Call For Papers explaining that I will not be speaking this year, nor will we be sending 2 other attendees to the event. My fear is that this will be nothing more than a glorified user group meeting. Don't get me wrong - user group meetings are valuable, but they are not BorCon. There is no accountability to keep speakers in line (what if they miss a deadline? what if they just don't bother to show up without telling anyone?). Dr. Bob - a long-time fixture at BorCon - also appears to be taking a pass on BorCon this year.

As the infomercial says, "Stop the insanity!!"... :-(

Monday, March 21, 2005 1:59:00 PM (Central Standard Time, UTC-06:00)  #    Comments [0] -

 Thursday, March 10, 2005
Jeremy North just released version 2 of his Delphi Configuration Manager (DCM). It's a tool that helps you optimize your Delphi IDE by creating profiles that load specific packages. So, if you have one client that uses one set of packages, and another that uses a different set, you can set up 2 different profiles and only load the packages that you need depending on which client you're working on currently. The main feature that I like in this version is that run-time packages are also available to be controlled in a profile. Give it a look. Very well done.
Thursday, March 10, 2005 9:51:00 AM (Central Standard Time, UTC-06:00)  #    Comments [0] -
Delphi
 Tuesday, March 08, 2005
Google Desktop Search has made it's way out of beta and is now a released product. It looks like it has become way more flexible, too. The biggest complaint I had was the lack of file extension support, which was sort of tied to the fact that there was no SDK. They re-architected this area, and now have support for plugins (including, a Trillian plugin) and allow developers to create plugins via the SDK. More information on developing plugins can be found here. They also expanded the default set of files that are indexed to include (among others) MP3 and PDF files. I also really love the DeskBar to gain easy access to searches.

My buddy, Rich Werning, and I were talking about some possible plugins that we may develop after we convert the SDK files to Delphi:

  • ZIP plugin - Scan through ZIP files to find items inside a ZIP
  • Blog/FeedDemon plugin - Search your locally downloaded blog entries, and have it take you to the original author's page when an item is found
  • Database plugin - Not entirely certain on this one, but if you provided a full connection string, maybe you could search a DB schema for fields/tables/etc. Or maybe even search a table for specific text.

I'll certainly blog anything we do on this front.

Tuesday, March 08, 2005 8:48:00 PM (Central Standard Time, UTC-06:00)  #    Comments [0] -
Delphi
Kostas Terzides has started playing with DataSnap recently. He contacted me to add his his DataSnap components to MidEss. I'm hoping his addition to the project will energize it once again. Thanks for volunteering, and welcome!
Tuesday, March 08, 2005 9:44:00 AM (Central Standard Time, UTC-06:00)  #    Comments [0] -
DataSnap
 Monday, March 07, 2005
I needed to create a custom TField class to handle some special processing recently. It was surprisingly easy to get this working:
1. First, create a descendant TField class and put it in a run-time package.

type
  TDrmBCDField = class(TBCDField)
    //override whatever methods you need here
  end;

2. Next, create a registration unit and place that in a design-time package. This unit has nothing more than this:

unit uDrmBCDFieldReg;

interface

procedure Register;

implementation

uses
  uDrmBCDField,
  DB;

procedure Register;
begin
  RegisterFields([TDrmBCDField, TDrmFMTBCDField]);
end;

end.

After compiling these packages, you can now get the new custom TField type to display when selecting "New Field..." in the Dataset designer. However, this doesn't address places where you don't use persistent fields, and it doesn't address the (IMO) more commonly used "Add Fields..." or "Add All Fields" context menu items. In order to always use your new custom class, you need to add code like this to your run-time package. By doing this, both the Delphi IDE and your code at run-time will pick up the proper field class type. I had to use code like this because Delphi 6 doesn't have assignable const permissions in the DB.pas unit.


var
  FieldClass: ^TFieldClass = nil;
initialization
  FieldClass := @DefaultFieldClasses[ftBCD];
  FieldClass^ := TTIPBCDField;
finalization
  if Assigned(FieldClass) then
    FieldClass^ := TBCDField;
end.

Notes:

  • There is a bug in Delphi 6 that causes occasional AVs when rebuilding packages that use RegisterFields. According to this Google post by Vitaliy Lyanchevskiy, you can use RegisterClasses during design and development to get around this problem.
  • Instead of DefaultFieldClasses, you can override TDataset.GetFieldClass if you want specific field types to be used at a TDataset-level.
Monday, March 07, 2005 4:48:00 PM (Central Standard Time, UTC-06:00)  #    Comments [0] -
Delphi
 Saturday, March 05, 2005
I went to the Deeper in .NET training session today. It was a free event put on by the Wisconsin .NET User Group. The lineup of speakers was sensational: Scott Guthrie, Rob Howard, Rocky Lhotka, Jason Beres, and Chris Mayo. No offense to the other speakers, but I went solely to hear Rocky speak. He wrote the book Expert C# Business Objects, and it is a very well-done book. If you're doing .NET, you should definitely pick up a copy and maybe even read it. ;-) (Thanks for the pointer to this book, Mark!)

Rocky did not disappoint the packed crowd, and delivered an exceptional talk about Distributed Application Architecture in .NET. His main focus seemed to stem from one of his more recent blog entries where he advocates sensible (and sparring) use of tiers, but heavy reliance on layers. It was a very entertaining and well-reasoned talk. Ah, but who knows, maybe I just think this because I've been advocating the same idea for many years. :-)

Saturday, March 05, 2005 4:47:00 PM (Central Standard Time, UTC-06:00)  #    Comments [1] -
.NET
Navigation
Archive
<March 2005>
SunMonTueWedThuFriSat
272812345
6789101112
13141516171819
20212223242526
272829303112
3456789
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2008
Dan Miser
Sign In
Statistics
Total Posts: 306
This Year: 21
This Month: 0
This Week: 0
Comments: 604
All Content © 2008, Dan Miser
DasBlog theme 'Business' created by Christoph De Baene (delarou)