0

I need to know how to locate the executable invoked by wscript.createobject().

I inherited a mass of old code that I'm trying to untangle. A VBS file invokes a custom executable with this line:

Set TGen = wscript.createobject("VbTextGen.TextGen")

I would like to find that executable but have not been able to. I understand the argument is server.typename but that doesn't tell me much. I've looked in the directory containing the vbscript file, the path, and some system directories

Set TGen = wscript.createobject("VbTextGen.TextGen") is all I have to go on.

Hoping someone can tell me where to find this thing.

CertainPerformance
  • 356,069
  • 52
  • 309
  • 320
rdgWarren
  • 87
  • 1
  • 8
  • This answer should help - [Section: What If You Don't Know Where the DLL Is Located?](https://stackoverflow.com/a/35985827/692942). – user692942 Jul 25 '19 at 07:36
  • 1
    Wow. Astonishing. Thank you very much. A small correction- the GUID, in my case, was in HKEY_CLASSES_ROOT\CLSID{my_guid_here}. The article said it would be found in HKEY_CLASSES_ROOT\. – rdgWarren Jul 31 '19 at 23:03
  • Glad I could help, if you found the question and/or answer useful consider [upvoting it](https://stackoverflow.com/help/why-vote). – user692942 Aug 01 '19 at 01:11
  • Possible duplicate of [Error ASP 0177: 8007007e Server.CreateObject fails for COM DLL](https://stackoverflow.com/questions/35976543/error-asp-0177-8007007e-server-createobject-fails-for-com-dll) – user692942 Aug 01 '19 at 01:17
  • Thank you @rdgWarren, you are absolutely right. Must have missed that when I went through my example steps, will correct it now. – user692942 Aug 01 '19 at 07:09

0 Answers0