0

Successfully registered a .NET DLL and I can see the ProgId in the registry as well. But I can't call it from my VB script

 Dim objQRM

 Set objQRM = CreateObject("QRM.RiskFramework.161")

IF IsNull(objQRM) Then
     Msgbox("Failed to create QRM COM object")
    wscript.quit(1)
 End If

VB script errror

Jason
  • 365
  • 2
  • 7
  • 23
  • Might be a 32-Bit vs. 64-Bit issue like [VB Script code not calling c# function](https://stackoverflow.com/q/11418353/205233) – Filburt Oct 04 '17 at 19:41
  • If the problem isn’t `ComVisible` go through the [COM DLL Checklist in this answer](https://stackoverflow.com/a/35985827/692942) to workout the problem. – user692942 Oct 04 '17 at 20:59
  • Related https://stackoverflow.com/q/46571151/692942. Would have been useful to know you had already posted a question. – user692942 Oct 05 '17 at 00:48
  • sorry. will not repeat. – Jason Oct 05 '17 at 15:52

0 Answers0