>Hi all,
>
>I have a COM component written in Visual Basic and compiled as an ActiveX EXE. I'm able to instantiate and call it's public method from my ASP code but I can't get it to run asynchronously while I redirect the browser to another page which gives status updates.
>
>Does anyone have experience with calling COM methods from ASP that execute asynchronously?
COM doesn't support async operation, so natively this won't work. Typically what you do in a Web application is submit a task to a queue and then check the queue if it's done while the page refreshes to check for completion of the task.
I have some examples with Web Connection on my site for this, but it would work equally well for ASP.
http://www.west-wind.com/wconnect/enterprise.htmLook at the bottom for the Aysnc request sample. You can look at the code that runs to make this work. It does use a separate VFP server that reads a queue, and runs a COM method specified there, then returns the result in another queue which is picked up by the application that's polling for completion.