Back again with a specific bug...
I have customized the Save Event in the frmBatch object in the Process Receipt of Good form:
Sub Form_Save(oDM, bSave)
Dim objApp, result
Set objApp = CreateObject("LMNO.PrintNewLabel.FormSave")
result = objApp.PrintBatchLabels
msgbox result
bSave = true
End Sub
So I have created (what I believe to be) a .NET COM assembly using this page (the only thing PrintBatchLabels() does is return true), and have run regasm.exe on the DLL. I have tried placing the .dll file in both C:\Windows\SysWOW64\ and C:\Program Files (x86)\Sage Software\Sage MAS 500 Client\ (Running Sage 500 ERP 2014 July 2015 Update (Version 7.60.7.0) on Windows 10 Pro x64 v1607), but with both locations I get this error upon Save:
clsFormCustRT.OnSave:
-2147024894 Method '~' of object '~' failed
(I am trying to avoid adding the DLL to the GAC.) What am I missing here?