|
|
IEDownload
Options

Use the options to set the values that determine how a resource should be
bound to the moniker. These values sets the BINDF in the GetBindInfo
method.
Default is:
Iedownload1.Options:=[Asynchronous, AsyncStorage,
GetNewestVersion, NoWriteCache, PullData]
To change to synchronous (blocking) download you can choose:
Iedownload1.Options:=[GetNewestVersion, NoWriteCache,
PullData]
- ASYNCHRONOUS
- Value that indicates that the moniker should return
immediately from IMoniker.BindToStorage or IMoniker.BindToObject. The
actual result of the bind to an object or the bind to storage arrives
asynchronously. The client is notified through calls to its
IBindStatusCallBack. OnDataAvailable or
IBindStatusCallback.OnObjectAvailable method. If the client does not
specify this flag, the bind operation will be synchronous, and the
client will not receive any data from the bind operation until the IMoniker.BindToXxx
call returns.
- ASYNCSTORAGE
- Value that indicates the client application calling
the IMoniker.BindToStorage method prefers that the storage and stream
objects returned in IBindStatusCallback.OnDataAvailable return
E_PENDING when they reference data not yet available through their
read methods, rather than blocking until the data becomes available.
This flag applies only to ASYNCHRONOUS operations. Note that
asynchronous stream objects return E_PENDING while data is still
downloading and return S_FALSE for the end of the file.
- NOPROGRESSIVERENDERING
- Value that indicates that progressive rendering
should not be allowed.
- OFFLINEOPERATION
- Value that indicates that the moniker should be bound
to the cached version of the resource.
- GETNEWESTVERSION
- Value that indicates the bind operation should
retrieve the newest version of the data/object possible. For URL
monikers, this flag maps to the Win32® Internet API flag,
INTERNET_FLAG_RELOAD, which forces a download of the requested
resource.
- NOWRITECACHE
- Value that indicates the bind operation should not
store retrieved data in the disk cache. PULLDATA must also be
specified to turn off the cache file generation when using the
IMoniker.BindToStorage method.
- NEEDFILE
- Value that indicates the downloaded resource must be
saved in the cache or a local file.
- PULLDATA
- Value that indicates the asynchronous moniker allows
the client of IMoniker.BindToStorage to drive the bind operation by
pulling the data, rather than having the moniker drive the operation
by pushing the data to the client. When this flag is specified, new
data is only read/downloaded after the client finishes downloading all
data that is currently available. This means data is only downloaded
for the client after the client does an IStream.Read operation that
blocks or returns E_PENDING. When the client specifies this flag, it
must be sure to read all the data it can, even data that is not
necessarily available yet. When this flag is not specified, the
moniker continues downloading data and calls the client with
IBindStatusCallback.OnDataAvailable whenever new data is available.
This flag applies only to ASYNCHRONOUS bind operations.
- IGNORESECURITYPROBLEM
- Value that indicates that security problems related
to bad certificates and redirects between HTTP and HTTPS servers
should be ignored.
- RESYNCHRONIZE
- Value that indicates the resource should be
resynchronized. For URL monikers, this flag maps to the Win32 Internet
API flag, INTERNET_FLAG_RESYNCHRONIZE, which reloads an HTTP resource
if the resource has been modified since the last time it was
downloaded. All FTP and Gopher resources are reloaded.
- HYPERLINK
- Value that indicates hyperlinks are allowed.
- NO_UI
- Value that indicates that the bind operation should
not display any user interfaces.
- SILENTOPERATION
- Value that indicates the bind operation should be
completed silently. No user interface or user notification should
occur.
- PRAGMA_NO_CACHE
- Value that indicates that the resource should not be
stored in the Internet cache.
- GETCLASSOBJECT
- Value that indicates that the class object should be
retrieved. Normally the class instance is retrieved.
- RESERVED_1
- Reserved. Do not use.
- FREE_THREADED
- Reserved for future use.
- DIRECT_READ
- Value that indicates that the client application does
not need to know the exact size of the data available, so the
information is read directly from the source.
- FORMS_SUBMIT
- Value that indicates that this transaction should be
handled as a forms submittal.
- GETFROMCACHE_IF_NET_FAIL
- Value that indicates the resource should be retrieved
from the cache if the attempt to download the resource from the
network fails.
- FROMURLMON
- Value that indicates the binding is from a URL
moniker. This value was added for Microsoft® Internet Explorer 5.
- FWD_BACK
- Value that indicates that the moniker should bind to
the copy of the resource that is currently in the Internet cache. If
the requested item is not found in the Internet cache, the system will
attempt to locate the resource on the network. This value maps to the
Win32 Internet API flag, INTERNET_FLAG_USE_CACHED_COPY.
- RESERVED_2
- Reserved. Do not use.
- RESERVED_3
- Reserved. Do not use.
Created and maintained by
Per Lindsø Larsen
Last Update: October 1, 2000
|