View Single Post
Old May 22nd, 2006, 05:07 AM is offline
Registered User
Join Date: May 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error in WScript.CreateObject


I have recently upgraded a VB6.0 ActiveX DLL to VB.NET. This DLL is basically used for playback of java and vb scripts.

I earlier used to register the VB6.0 DLL with REGSVR32.EXE so the generated scripts (java and VB) can use the COM objects.

However, now after upgrading to VB.NET, and installing the .NET framewrok also on my machine, I am getting the following error while playing the scripts.

Error:"Could not locate automation class named APRecPlay.TInput."
Source: WScript.CreateObject

I also tried registring the VB.NET DLL with regasm.exe. But that doesnt help either.

Any suggestions?