From the Editor-in-Chief of PowerBuilder Developer's Journal

Bruce Armstrong

Subscribe to Bruce Armstrong: eMailAlertsEmail Alerts
Get Bruce Armstrong: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


PowerBuilder: Article

XP Text Search Broken...

XP Text Search Broken...

Have you ever done a search for files containing a specific text with Windows Explorer and gotten no results even though you know the files are there? Well, if you're using XP, chances are the problem is that XP only returns results for files whose extensions have a "PersistentHandler" value in the registry. It's documented in a Microsoft tech note on the issue. (http://support.microsoft.com/default.aspx?scid=KB;EN-US;309173)

Why do you care? Because PowerBuilder source code extract files don't have such values, unless you create them. Fortunately, one of the Microsoft MVPs has a utility that restores the typical "search all files" results one gets from the earlier operating systems. (www.dougknox.com/xp/utils/xp_filefilter.htm)

A Couple More Useful (and Free) Utilities
The first is SCC Switcher (www.codeproject.com/tools/sccswitcher.asp). Not that changing your SCC provider is a big deal in PowerBuilder. But it is in other tools. If you're involved in community development work with a CVS repository like CodeXchange and use a standard SCC provider for your day-to-day work, you may need to switch between providers for some of your other development tools. SCC Switcher lets you do this from a mouse click in the task bar.

See Figure 1

The other is StampEm from KnowWare (www.knowware-soft.com/stampem.htm). Want to provide all the files you're about to deploy with the same date/time stamp? Since that's a popular thing to do, there are a number of utilities out there that do it. This is one good one.

One nice thing about both of these utilities is that the source code is available.

See Figure 2

Readers' Choice Awards
DataWindow.NET is a nominee in the .NET Developer's Journal 2004 Reader's Choice Awards in the Best .NET Libraries and Controls category. Get your vote in now! (http://sys-con.com/dotnet/readerschoice2004/)

Move Aside AutoScript
Check out PBIntelli (www.miqui.it/PBintelli.htm). It's an add-in written in PBNI that's faster than AutoScript and more powerful. In the example below, it shows the columns in the DataWindow object in the DataWindow control being referenced. It's what AutoScript should have been.

The text displayed is stored in a series of text files in the program directory, so you can customize and extend it as needed.

.  .  .

This editorial is an exerpt from my blog: http://bruce.pbdjmagazine.com.

More Stories By Bruce Armstrong

Bruce Armstrong is a development lead with Integrated Data Services (www.get-integrated.com). A charter member of TeamSybase, he has been using PowerBuilder since version 1.0.B. He was a contributing author to SYS-CON's PowerBuilder 4.0 Secrets of the Masters and the editor of SAMs' PowerBuilder 9: Advanced Client/Server Development.

Comments (1)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.