I resolved the problems.
(1) Found a packaged MD5 application on the internet that also provided source code. I borrowed the 3 relevant functions and got the solution running in .NET. Also downloaded 3 different MD5 applications from the internet and compared my result to the
output of each of these applications. Hurrah - they all matched!
(2) The 2nd problem was that I had to make the .NET code available to my MS-Access application, which is a COM; not a .NET application. I did this by putting a wrapper between the .NET code and the COM code. I ended up using the Microsoft standard COM
class - worked like a champ once I understood how to call it from the COM applicatin. My thanks to Tom
van Stiphout for getting me started down the right path. Tom - one suggested to improve your article... Don't just include the instructions on the .NET side. Also provide sample code on the calling side. Something like the following...
'======================================
' the following MD5 hash / checksum calculation calls a COM-to-NET wrapper function
'======================================
' create an object class
Dim objMd5HashComPassThru As New ComClass1
' transcribe the path and filename into a string and output it to the immediate window
' so we can verify the content
strFileWithFullPath = strEinFolder & strXmlFileName
Debug.Print "Write_manifest step07 - file=" & strFileWithFullPath
' go calculate the MD5 checksum using a .NET function
strMD5Hash = objMd5HashComPassThru.Md5HashComPassThru(strFileWithFullPath)
Debug.Print "Write_manifest step08 - hash=" & strMD5Hash
Dim nodChecksumAugmentationNum As IXMLDOMElement
Set nodChecksumAugmentationNum = docXMLDOM.createElement("urn:ChecksumAugmentationNum")
nodChecksumAugmentationNum.Text = strMD5Hash
objManifestRootElement.lastChild.appendChild nodChecksumAugmentationNum.cloneNode(True)