Hi,
I have a dll that calls an .exe on the server using a Shell call. (I am passing the parameters to the dll method from my asp, which come from a form on the webpage.)
Code in the dll is:
Sub Convert(s, d) 's is source-path, d is destination path
Shell ("""c:\Program files\ToGif.exe"" s=""" & s & """ d=""" & d & """ -sep"
End Sub
The .exe takes about 10 to 20 seconds to perform its task when its called from a dll. But when I debug the dll from another VB application, the control gets returned to the calling application by the dll immediately, without waiting for the .exe to complete its task, and user can perform other operation while the .exe is still working.
My question is: When used on a server to work with asp pages, will the dll behave the same way, and will users be able to fo to the next page while the .exe does its work? Or will the page have to wait till the .exe completes its work? Can I safely use this kind of an operation on a website? Will there be any problems that I should consider?
TIA,
Sheila
I have a dll that calls an .exe on the server using a Shell call. (I am passing the parameters to the dll method from my asp, which come from a form on the webpage.)
Code in the dll is:
Sub Convert(s, d) 's is source-path, d is destination path
Shell ("""c:\Program files\ToGif.exe"" s=""" & s & """ d=""" & d & """ -sep"
End Sub
The .exe takes about 10 to 20 seconds to perform its task when its called from a dll. But when I debug the dll from another VB application, the control gets returned to the calling application by the dll immediately, without waiting for the .exe to complete its task, and user can perform other operation while the .exe is still working.
My question is: When used on a server to work with asp pages, will the dll behave the same way, and will users be able to fo to the next page while the .exe does its work? Or will the page have to wait till the .exe completes its work? Can I safely use this kind of an operation on a website? Will there be any problems that I should consider?
TIA,
Sheila