AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

GetFileNameFromBrowse

GetFileNameFromBrowse is nothing more than a simplified wrapper around the GetOpenFile-Name function.

VB4-32,5,6
Declare Function GetFileNameFromBrowse Lib "shell32" Alias "#63" (ByVal hwndOwner As Long, ByVal lpstrFile As String, ByVal nMaxFile As Long, ByVal lpstrInitialDir As String, ByVal lpstrDefExt As String, ByVal lpstrFilter As String, ByVal lpstrTitle As String) As Long

Operating Systems Supported
Undocumented

Library
Shell32

Parameter Information
hwndOwner
identifies the window that owns the dialog box.

lpstrFile
points to a buffer that contains a filename used to initialize the edit control. When the function returns, this buffer contains the full path of the selected file.

nMaxFile
specifies the size, in characters, of the buffer pointed to by lpstrFile.

lpstrInitialDir
points to a string that specifies the initial file directory. If lpstrFile contains an initial filename, the lpstrInitialDir is ignored and the path from the filename is used instead.

lpstrDefExt
points to a buffer that contains the default extension.

lpstrFilter points to a buffer containing pairs of null-terminated filter strings.

lpstrTitle
points to a string to be placed in the title bar of the dialog box.

Return Values
Undocumented

Examples

Related Functions

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/