Hi all,
I have developed a .NET assembly and registered it on my workstation
to be used as a COM object.
I call a new instance of this object from a script using the Windows
Scripting Host and it works great. However, when I throw an Exception
in .NET code, the Windows Scripting Host only shows
Error: Unspecified Error
Code: 80004005
Source: (null)
I want the message that I pass to my Exception( string Message ) to
show up in the 'Error' portion of the Scripting Host Error box.
I have even gone against Microsoft recommendation and thrown a
COMException directly with the same results as above. I have even
tried an inner Exception in my throwing Exception with the same
results as above.
Any suggestions will be appreciated.
Angelo