********************************************************************* Comprehensive list of improvements and modifications to the NDFkd Calculator (NDFkd) ********************************************************************* Versions 1.0.20 to 1.1.3 were reconstructed on 2026-10-12 from the setup program of each version (the files it installs and the captions and messages of NDFkd Calculator.exe), because no list of changes had been kept. They are inferred, not the notes of the author. "Maintenance update" means the program was rebuilt and no new option, message or file was found. Version 1.0.20 is the first one under the name NDFkd Calculator; it continues the NDF Rate Simulator written at Cornell University in 2002 (versions 1.0.10 to 1.0.18), whose guides are the source of the entry of 2002 below. 2026-12-01 (version 1.2.0) -------------------------- (1) New splash screen, the same as in MES, LRNS and CVDS: the version and copyright, a "Licensed to" block (NDFkd is free for use and needs no registration), a "This computer" block and the notice, with a bar that counts down ten seconds. A click or a key closes it; a click on the notice restarts the countdown so it can be read. (2) While the splash screen is open, NDFkd runs five startup checks and names each one as it runs: the program and this computer, the data folder, the program components, the help files, and updates. (3) The checks leave a startup report in Documents\NutritionModels\NDFkd Files\Logs (the newest 30 are kept). When the checks end, the splash screen says how they went, and a click on that line opens the report. (4) A newer version found on the web is named on the splash screen; the Update button of the About window downloads it. Before, a message box said so after the main window had opened. (5) The update check reads update.xml from www.nutritionmodels.com, with update.txt as the fallback, and the update prompt can show the release notes of each version. The check made at startup has a time limit (8 seconds to connect to the web server and 10 to read); before, it had none. (6) When the update server cannot be reached, NDFkd says so in one message and offers the technical details, instead of opening them in Notepad by itself. When there is no newer version, the message gives the version you have. (7) Batch calculation: an error (Microsoft Excel not installed, a text in a cell that should hold a number, a workbook that cannot be saved) no longer closes the program and no longer leaves a hidden Excel running. A message says what was being done and which cell is wrong, the workbook is closed without being saved, and NDFkd stays open. (8) Batch calculation: the window that chooses the workbook offers the current format of Excel (.xlsx) as well as the old one (.xls). (9) Batch calculation: more than 32,767 rows can be calculated. (10) Calculate: an error in the calculation is shown in the message line of the results and written to an error log, and the intervals then show NA. Before, the results kept the numbers of the previous calculation. (11) Calculate: Alpha has to be above 0 and below 100. Otherwise the intervals show NA and the message line says why; before, an empty Alpha left the intervals of the previous calculation on the screen. (12) The standard values of kp (0.0333) and DU kd (0.005), set at startup and by the Reset button, are written with the decimal separator of Windows. With a decimal comma they were read as 333 and 5. (13) While a digestibility is being typed and is not yet a number, or while NDF is zero, the other field of the pair (IVDMD and IVNDFD) is left as it is; it was filled with 0.00. (14) Closing the main window closes NDFkd. Before, closing it by its X while the batch window was open left the program running, and the Exit button stopped the program without closing its windows. (15) The buttons of the main window (Batch, Reset, Calculate, Load, Save, About, Exit) have pictures, as in MES; the About button has the picture of NDFkd. The four options (calculate automatically, force 24 and 48 h in the batch, keep always on top, show Excel) have a frame of their own, Options. (16) New manual, "Background and quick guide", in place of the quick guide of 2009: how the method and the program came to be, the method step by step, how the equations were obtained, the quick guide of the windows and buttons, and the five samples with prediction beside measurement. The Help button of the About window opens it, and says so when it is not found, instead of doing nothing. The About window has the colors of the other programs. (17) Errors are written to an error log, NDFkd errors.log, in Documents\NutritionModels\NDFkd Files\Logs. (18) New Save and Load buttons in the main window. Save writes the inputs (composition, in vitro digestibilities, kw and DU, feed category and method), the simulation control and the options to a file; Load brings them back and calculates. The file is XML text (extension .ndfkd), with numbers written with a decimal point, so it can be read in any editor and taken to a computer with other regional settings. A file that was not saved by NDFkd is refused and changes nothing. (19) Five sample files for the Load button are installed with the sample workbook in Documents\NutritionModels\NDFkd Files: one with kw and DU typed by the user, a grass and a legume calculated from the composition with the in vitro digestibility at 30 h, and a grass and a legume with the digestibilities at 24 and 48 h. The forages are from the data on which the equations were fitted. A saved file can also be opened with a double click (the setup associates the extension .ndfkd with NDFkd). (20) DU can be typed as a percentage of the dry matter or as a percentage of the NDF; the program fills the other field. The result is labelled "DU, %NDF" (it was labelled %DM; the number is the same). (21) Correction: the equations that predict kw and DU from the in vitro digestibility at 30 h are again those published by Van Soest et al. (2000). From version 1.0.20 to 1.1.3 their coefficients differed slightly, because they came from a later run on data in which the lignin of the forages that have only permanganate lignin had been converted by another rule. The difference is small (for the alfalfa of the paper, kf 0.0505 instead of 0.0506). The confidence and prediction intervals of that method now use the variances and covariances of the published equations, obtained with SAS. In the DU of legumes and mixes the last coefficient is -0.0203, as the statistical analysis gives it; the table of the paper prints -0.02095. (22) Calculate: when kf cannot be calculated (NA), the intervals of kw and DU show NA too. (23) The download window says in its status line when the update server does not answer or the download fails; it opened a technical text in Notepad, and after a failed download the Start button stayed disabled. (24) The library that follows the meal, clsNDFkd.dll, is version 1.0.0.18: its own equations of the 30 h method are the published ones too. The program now predicts kw and DU itself and uses the library only to calculate kf. (25) With User input, kw has to be typed; an empty kw was predicted from the composition without saying so. When the predicted DU is zero or negative, zero is used and the message line says it. (26) The manual shows, for each group of forages and each method, how the equations fit the data (measured against predicted, and the residuals), and the SAS statements of the analysis. (27) Updates are checked and downloaded through Windows' own Internet connection (WinHTTP) instead of an external component, and the security certificate of the server is checked by Windows. The update window is the one of LRNS 1.3.1: Stop and Return work during a download, a failed download leaves no incomplete file, and when the server does not answer a message offers the details. (28) Two boxes in the Options frame, Start-up logs? and Error log?, choose whether NDFkd keeps a report of its start-up checks and an error log in Documents\NutritionModels\NDFkd Files\Logs (both are on unless turned off). With Start-up logs? cleared, the report can still be opened from the start-up screen but is not kept. 2025-03-10 (version 1.1.3) -------------------------- (1) New installer (rebuilt on 2025-11-25). (2) The program is now published by NutritionModels and installed in Program Files\NutritionModels\NDFkd (it was Program Files\TAMU\NDFkd). (3) User files are now kept in Documents\NutritionModels\NDFkd Files: the batch calculation looks for the workbook there, the sample workbook Kf Sample.xls is installed there, and updates are downloaded to its Update folder. (4) The program file is digitally signed. (5) A license agreement is shown by the installer. (6) The installer now installs the Microsoft common controls that the update window needs. 2023-09-13 (version 1.1.2) -------------------------- (1) Maintenance update. 2023-07-02 (version 1.1.1) -------------------------- (1) The batch calculation starts Microsoft Excel by its name, so it no longer depends on the version of Excel that is installed. (2) The option "Use Excel as ActiveX?" was removed. (3) The sample workbook Kf Sample.xls was saved again with a current Excel, without its Visual Basic project. 2019-08-01 (version 1.1.0) -------------------------- (1) The update check and the download of a new version use a secure connection (https). (2) The update window shows when the file on the server was last changed, and a download can be stopped. (3) When the update information cannot be read, the technical details are opened in Notepad. 2015-11-08 (version 1.0.27) --------------------------- (1) NDFkd checks for a newer version when it starts. (2) New window, NDFkd WebUpdate, that downloads the setup of a new version. (3) New About window, with buttons for the update, the web page, the quick guide and the system information. 2015-11-07 (version 1.0.26) --------------------------- (1) The library that calculates kf was rebuilt with a change in its code; the coefficients are the same. What was changed is not known. 2015-03-29 (version 1.0.25) --------------------------- (1) The website of the program is nutritionmodels.com (it was nutritionmodels.tamu.edu). (2) The installer adds a shortcut on the desktop. 2012-03-26 (version 1.0.24) --------------------------- (1) Corrected address of the website. (2) Maintenance update: the program and its libraries were rebuilt. 2010-05-02 (version 1.0.23) --------------------------- (1) Maintenance update. 2010-04-25 (version 1.0.22) --------------------------- (1) Maintenance update. 2010-01-27 (version 1.0.21) --------------------------- (1) Maintenance update. 2009-11-28 (version 1.0.20) --------------------------- (1) First version under the name NDFkd Calculator, published by Texas A&M University. It has what the NDF Rate Simulator had (kf from kw and DU or from the composition of the forage, for grasses and for legumes and mixes; the in vitro methods at 30 h and at 24 and 48 h; batch calculation over an Excel workbook) and adds the confidence and prediction intervals for the 30 h method, an About window, a new quick guide and the two papers of Van Soest and others (2000, 2005). (2) The equations of the 30 h method were estimated again, with their variances and covariances; their coefficients differ slightly from those of the paper of 2000, which the NDF Rate Simulator used. 2002 (NDF Rate Simulator, Cornell University, versions 1.0.10 to 1.0.18) ------------------------------------------------------------------------ (1) February to April 2002, version 1.0.10, "the CNCPS kf rate program": kf from kw and DU typed or predicted for grasses and legumes from the in vitro digestibility at 30 h, with the equations of Van Soest et al. (2000); batch calculation over a worksheet named kf. (2) November and December 2002, versions 1.0.11 to 1.0.18: a second method with the in vitro digestibilities at 24 and 48 h, crude protein among the inputs, mixes of legumes and grasses, confidence and prediction intervals for that method, and the sample workbook Kf Sample.xls.