I need to be able to pass a text string from my ASP script to a visual basic 6 exe. My VB6 project has a simple form with a text box on it. I have added a class to expose the Text Property and have added 1 method to write this property to the text box. The VB6 application is called AmegaWeb and the class is called Transfer. When I try to instantiate the object in my ASP script, I get the following error;
Server object, ASP 0177 (0x800401F3)
Invalid class string
/SendSVR.asp, line 37
The code in the script is as follows:
37 Set xfer = Server.CreateObject("AmegaWeb.Transfer")
38 xfer.Txt = strSEND
40 Response.Write "The result of this call was: " & Cstr(xfer.Result)
41 set xfer = nothing
I tried registering the AmegaWeb.exe to no avail. If this method is not possible, I need any solution available to be able to transfer a string of data from an ASP script to a visual basic 6 application. I tried using sockets and could not get that to work either.
Any help would be appreciated.