Unattended Execution prevents your VB6 binary from showing an interactive Dialog, i.e. a window on the server that your webclient would be unable to see or interact with.
This could be a Msgbox() or a runtime error popup. When Unattended Execution is flagged, runtime errors are logged to the Windows Event Log.
Retained in memory prevents IIS (or your host) from immediately releasing your DLL. Depending on your host setup, the DLL will be retained in memory and reused. Some hosts (such as IIS) will release the DLL after some time.
See also: You can configure the Unattended Execution option and the Retained In Memory option in the latest version of Msvbvm60.dll
You must turn on the Unattended
Execution option and the Retained In
Memory option before compilation to
host a Microsoft Visual Basic
Enterprise Edition for Windows 6.0
component (Microsoft ActiveX DLL) in a
multi-threaded environment, such as
Microsoft Transaction Server
(Mtx.exe), Internet Information
Services (Inetinfo.exe), COM+
(Dllhost.exe), and Microsoft SQL
Server 7.0 or SQL Server 2000
(Sqlservr.exe). However, you may not
know whether a component is going to
be used in such an environment or you
may forget to turn on the Unattended
Execution option and the Retained In
Memory option. To address this
problem, the latest version of the
Visual Basic runtime (Msvbvm60.dll)
introduces a new feature that permits
you to turn on the Unattended
Execution option and the Retained In
Memory option at run time.
And: Threading issues with Visual Basic 6.0 ActiveX components
- Access Violation inside MSVBVM60.DLL.
- Client enters a deadlock state. You may see these two symptoms if a Visual
Basic ActiveX DLL is hosted in a
multi-threaded environment, for
example, IIS, MTS, or a multi-threaded
client, and the Retain In Memory
option is not enabled.
And, of course: Visual Basic Reference General Tab (Project Properties Dialog Box)
Unattended Execution Indicates that the project is intended to run
without user interaction. Unattended
projects have no interface elements.
Any run-time functions such as
messages that normally result in user
interaction are written to an event
log.
Retained in Memory Retains a project in memory. However, there is a
performance cost: A project retained
in memory is not unloaded until the
process terminates.