In Windows 10, files and shortcuts that had a Notepad icon changed and the new icon appeared to be a blank white document page. For my computer, this was notice around 01/10/21. The “Site” (https://www.winhelponline.com/blog/change-default-icon-file-type-windows/) was helpful used in finding a resolution. The resolution fixing the problem was to edit the registry value from HKEY_CLASSES_ROOT\txtfile\DefaultIcon\%SystemRoot%\system32\imageres.dll,-102 to %SystemRoot%\system32\notepad.exe,-2. The DefaultIcon and the file it is located in have changed with versions of Windows. In some of the newer versions of the files referenced for the default icon, the icon referenced was not present. Associating applications to file extensions in Windows 10 settings is immediate but is not necessarily reflected in some registry key values after a registry refresh or reboot. The value in the key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\UserChoice\ProgId\ on my computer was textfile. This value was txtfile on the “Site”. This entry could not be edited because of permissions so it could not have been inadvertently changed during the attempts to fix the problem. The permissions were changed and it was edited to txtfile. A more detailed discussion is at (Link->)White Icon Blog Page
Sunday, January 17, 2021
Friday, August 28, 2020
ASTM D2502 Calculation of Petroleum Oil Molecular Weight
ASTM D2502 has a chart that is used to estimate the molecular weight of a petroleum oil based on two viscosities of the oil. The chart requires several estimation and interpolations, which can introduce mistakes. A calculation from mid 1985 using the 2 viscosities is presented (LINK->Calculation of a Petroleum Oil Molecular Weight). The calculated molecular weights compared to the ones determined from the chart have a difference of 2.3 standard deviations. The calculation is valid for the entire chart. The Microsoft document is available by contacting the author for a Dropbox link.
An Excel workbook (MWPetOilFrom2Vis_VisCalcs.xlsm) and the exported VBA module (MWPetOilFrom2Vis_VisCalcs.bas) are available. The function MW40_100 calculates the molecular weight from cSt viscosities at 40C and 100C. It converts the viscosities and checks if they are within the bounds of the chart.