Export (0) Print
Expand All

FileDialog.Show Method 

Displays a file dialog box and returns an Integer indicating whether the user pressed the action button (-1) or the cancel button (0).

Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)

'Usage
Dim returnValue As Integer
Dim fileDialog1 As FileDialog
returnValue = fileDialog1.Show()

int Show();
public int Show();
function Show() : int;

When you call the Show method, no more code will execute until the user dismisses the file dialog box. In the case of Open and SaveAs dialog boxes, use the Execute method right after the Show method to carry out the user's action.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft