This program converts county abbreviations in ADIF contest logs to a valid ADIF "CNTY" field. It should work correctly on all versions of Microsoft Windows beginning with Windows Vista.

Version 6.2 of the program was released on 1 May 2024. Go to the Version History to download the installation program.


Disclaimers


Features


Installation

After downloading the installation program, simply run it and install the program into a directory of your choosing.

IMPORTANT: If you try to run the program and you see either of these two (or similar) error messages pop up:

MSVCP140.dll is missing

or

VCRUNTIME140.dll is missing

then you must download and install the Microsoft Visual C++ Redistributable for Visual Studio. For more information on this download, click here.


Operation

To run the program, just double-click on the program icon. You will see a window like the following:

ADIF County Conversion

You must choose the input file, the output file, and the state or regional QSO party name to convert from the drop-down menu. The name of the output file must be different from the name of the input file.

Then click on the Convert button. Any informational, warning or error messages will be printed to the text area at the bottom of the program window.

Click on the About button to see the program version and copyright information.

Click on the Help button to bring up this web page.

Check the "Add /M to mobiles" box to automatically convert callsigns like W4ABC/SUW to W4ABC/M. This feature is enabled by default. If you do not want the program to do this, you will have to uncheck the box yourself.


Notes

The following contest exchange formats are supported. If your ADIF file uses a different field, send me the file and I will add support for it:

GenLog   <qth_rcvd:#>abbrev
N1MM   <EXCHANGE1:#>abbrev
<APP_N1MM_EXCHANGE1#>abbrev
NA   <comment:#>abbrev
TR   <name:#>abbrev
Writelog   <CNTY:#>abbrev (and others)

CT to ADIF already exports the counties correctly for the contests it supports.


Coming Attractions (maybe)

There are a couple features that I may implement in the future, if there is interest:


Version History

To download the installation program, click on the hyperlink containing the version number and date.

Ver. 7.0 - 9 May 2024
Feature: For rover and portable operations, convert transmitted QTH (county abbreviation) into MY_STATE and MY_CNTY ADIF fields
Feature: Updated county abbreviations for New England QSO Party
NOTE: CT Planning Regions (NEQP) can not be converted, see the Notes section above

Ver. 6.2 - 1 May 2024
Bug fix: Program could crash while trying to report certain unrecognized county abbreviations
Bug fix: Help button now goes to the correct (current) URL
Other: built with Microsoft Visual Studio 2022 compiler (see Installation section above for information about installing the required run-time library)
 
Ver. 6.1 - 26 February 2021
Feature: added NH QSO Party
Bug fix: now supports ADIF lines up to 4096 characters (was 640)
Bug fix: DEC (Decatur) in Iowa QSO Party wasn't found
Bug fix: Fixed abbreviation list for NJ QSO Party
Other: built with Microsoft Visual Studio 2019 compiler (see Installation section above for information about installing the required run-time library)
 
Ver. 6.0 - 6 May 2017
Feature: added 5-letter abbreviations for IN QSO Party
Bug fix: uses FIPS names for US counties. This corrects a few spelling mistakes.
Other: built with Microsoft Visual Studio 2015 compiler (see Installation section above for information about installing the required run-time library)

Ver. 5.5 - 2 September 2014
Fixed mapping of Oahu abbreviations to Honolulu Co. in HI QSO Party
Recognize APP_WRITELOG_C2 as an ADIF field representing a county line
 
Ver. 5.4 - 25 August 2014
Fixed crashes caused by incorrectly-sized string copies (three places)
Fixed end-of-line termination
 
Ver. 5.3 - 27 May 2014
Removed support for old 3-letter NEQP county abbreviations, some conflicted with the InQP abbreviations (i.e. HANcock)
Added NM and SD QSO parties
Started re-write to use common ADIF parser
Consolidated common code shared with Convert ADIF to DX4WIN
 
Ver. 5.2 - 13 May 2014
Real Windows installer
Added Arkansas and Arizona QSO parties
Resolved a conflict if a state QSO party uses the same abbreviation as a Canadian province
For contests that also use serial #s, don't try to convert the serial # to an ADIF county (resulted in spurious error messages)
Fixed a crash caused by a very long output path (more than about 66 characters)
Improved handling of independent cities in 7QP, NV and VA QSO Parties
 
Ver. 5.1 - 20 January 2014
Changed compilers from Microsoft Visual Studio 2005 to Visual Studio 2010
 
Ver. 5.0 - 2 May 2013
Added support for combined 7QP/INQP/NEQP weekend
Adding /M to "mobile" callsigns is optional
Improved support for N1MM
Re-wrote to take advantage of common library functions

Ver. 4.4 - 27 October 2009
Added IA, KS, NY
Fixed a problem with 3rd and 4th counties of a county line in some WriteLog contests
MDC is a valid abbreviation for Maryland
Fixed crash if path to file name is too long
Help button goes to the correct URL
 
Ver. 4.3 - 22 March 2009
Added ID, ND
 
Ver. 4.2 - 3 March 2009
Added CO, MS
Fixed size of states drop-down box
 
Ver. 4.0 - 15 March 2007
Re-wrote the graphical interface
Fixed a bug with N1MM logs