Classic ASP: Alternative methods


#1

Hi, I'm back again.

I previously posted about classic ASP problems and how Server.CreateObject cannot access Aspose.Words. http://www.aspose.com/Community/forums/thread/56164.aspx

Right now, my new idea (without spending time learning ASP.NET) is to run a VBS script from the browser. I already have the the VBScript version working 100% finished and can save the output. (I was thinking if my VBScript is complete, then all I have to do is solve the Classic ASP binding to Aspose.Words component problem and duplicate the code over)

Anway, my plan now is to:

1) Browse to http://www.mywebserver.com/asposeproject/TriggerVBS.asp

2) TriggerVBS.asp triggers CreateWordDoc.vbs in C:\Inetpub\wwwroot\asposeproject\triggers

3) After compiling the word document, CreateWordDoc.vbs saves the compiled doc to C:\Inetpub\wwwroot\asposeproject\docs and emails a copy to the user who triggered this process.

Is this theoretically possible?


#2

Hard to say. I have never tried such an approach before. But it looks feasible enough.