Click to return to the Reusing Browser Technology home page    
IHTMLOptionsHolder::isApa...     IHTMLOptionsHolder::savef...     IHTMLOptionsHolder Interf...    
Web Workshop  |  Reusing Browser Technology

IHTMLOptionsHolder::openfiledlg Method


Opens the system open file dialog window.

Syntax

HRESULT openfiledlg( 
    VARIANT initFile,
    VARIANT initDir,
    VARIANT filter,
    VARIANT title,
    BSTR *pathName 
);

Parameters

initFile
VARIANT structure that contains the initial file name to open.
initDir
VARIANT structure that contains the initial directory to open.
filter
VARIANT structure that contains the filters to use in opening the file.
title
VARIANT structure that contains the initial title for the file dialog window.
pathName
Address of a string (BSTR) variable that specifies the path for the file to be opened.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

savefiledlg


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.