I think I'm having problems with this:
private static object scComm = Marshal.GetActiveObject("ScComm32.Document");
This call returns but the returned object completely devoid of anything useful, compared to when I do something like this:
private static object myWord = Marshal.GetActiveObject("Word.Application");
I have an old VB6 app that doesn't seem to have a problem doing this with one little call to GetObject.
Any help appreciated.
Thanks.
View Complete Post