Hi,
I have built an application that extracts data from a spreadsheet, imports relevant data into a SQL Server database and then creates a new spreadsheet with the data formatted to the user's requirements.
The code is currently in Access, but only in the sense that it a front-end for the user. There is now a requirement for a web front end to take requests for Excel reports.
My idea is that I create a DLL that contains the code for the report creation and reference the DLL from the ASP page. The problem is that the reports can take about 20 minutes to extract all of the data. My question is whether I can call the DLL from the ASP page, let the DLL process the report on the web server in the background, and the ASP page let the user know that it will be ready soon. Will the ASP page wait for a response from the DLL before moving onto the next line of ASP code? If I set the object to nothing in the ASP page I am assuming this will close the DLL. If anyone has any advice or suggestions I would appreciate it.
I have built an application that extracts data from a spreadsheet, imports relevant data into a SQL Server database and then creates a new spreadsheet with the data formatted to the user's requirements.
The code is currently in Access, but only in the sense that it a front-end for the user. There is now a requirement for a web front end to take requests for Excel reports.
My idea is that I create a DLL that contains the code for the report creation and reference the DLL from the ASP page. The problem is that the reports can take about 20 minutes to extract all of the data. My question is whether I can call the DLL from the ASP page, let the DLL process the report on the web server in the background, and the ASP page let the user know that it will be ready soon. Will the ASP page wait for a response from the DLL before moving onto the next line of ASP code? If I set the object to nothing in the ASP page I am assuming this will close the DLL. If anyone has any advice or suggestions I would appreciate it.