> Hello,
>
[quoted text clipped - 6 lines]
>
> Is there any workaround?
My guess would be no. Presumably, this dll is written in VB? Anyway,
ActiveX DLLs are run in-process, and are therefore synchronous (meaning
control is not returned until the call completes). If you can use ActiveX
EXEs in HTML pages, *perhaps* you can change your DLL into that and it'd do
what you want. ActiveX EXEs are separate processes and therefore can be
asynchronous (the call would return immediately).
There might be other options too that are dependent on the environment (i.e.
the environment which the HTML page is opened in). That's probably a
question better asked in a different newsgroup.

Signature
Mike
Microsoft MVP Visual Basic
Tony Proctor - 29 Apr 2007 11:56 GMT
By default, a call to an ActiveX EXE would be no differently from an ActiveX
DLL Mike - the COM call would block until the call completes. However, it is
possible to make it asynchronous. See this recent post, and the surrounding
thread:
http://groups.google.ie/group/comp.lang.basic.visual.misc/msg/bd9a6784e22bcb95?hl=en&
Tony Proctor
> > Hello,
> >
[quoted text clipped - 17 lines]
> the environment which the HTML page is opened in). That's probably a
> question better asked in a different newsgroup.