Classic ASP ComponentsDiscussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
As i told you earlier, all you have to do is register the exe on the server using the regserver command, and you can access the exe from your asp.,say for example i registered a exe called myexe. It has class like clsx and clsx has a function called add. in my asp code in order to use the exe i do something like this:
Set myobj = Server.CreateObject("myexe.clsx")
'reference to that class in myexe
You may use Process.Start to start an EXE from an ASP.NET application, but the EXE will run on the Web server; the user will not see the app in his or her browser.
I don't know of any way to take an existing Windows application and automatically turn it into a Web application. In general, you must rewrite the UI code to display HTML in the user's browser; you may, however, be able to reuse the non-UI code in the Web app.