How to use API for a filedialog
Hi!
Can someone tell me how to create a filedialog that makes it possible to
browse for a file to open...I guess there's a nice API for that, which skould
I d how do I use it
/Jonas
[212 byte] By [
John] at [2007-11-10 0:20:35]

# 1 Re: How to use API for a filedialog
>Can someone tell me how to create a filedialog that makes it possible to
>browse for a file to open...I guess there's a nice API for that, which skould
>I d how do I use it
Hej Jonas,
The function you're looking for is GetOpenFileName.
http://www.mvps.org/vbnet/code/comctl/fileopen.htm
Mattias
__________________________________________________
Mattias Sjgren (MCP) - mattiass @ hem.passagen.se
VB+ http://hem.spray.se/mattias.sjogren/
Please send questions/replies to the newsgroups
# 2 Re: How to use API for a filedialog
>Can someone tell me how to create a filedialog that makes it possible to
>browse for a file to open...I guess there's a nice API for that, which skould
>I d how do I use it
Hej Jonas,
The function you're looking for is GetOpenFileName.
http://www.mvps.org/vbnet/code/comctl/fileopen.htm
Mattias
__________________________________________________
Mattias Sjgren (MCP) - mattiass @ hem.passagen.se
VB+ http://hem.spray.se/mattias.sjogren/
Please send questions/replies to the newsgroups
# 3 Re: How to use API for a filedialog
On 22 Mar 2000 01:03:07 -0800, "John" <jonasjohansson70@hotmail.com> wrote:
Hi!
Can someone tell me how to create a filedialog that makes it possible to
browse for a file to open...I guess there's a nice API for that, which skould
I d how do I use it
You can use either the Common Dialog control or, since you asked for code, the Common Dialog API:
http://www.mvps.org/vbnet/code/comctl/fileopen.htm
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
# 4 Re: How to use API for a filedialog
On 22 Mar 2000 01:03:07 -0800, "John" <jonasjohansson70@hotmail.com> wrote:
Hi!
Can someone tell me how to create a filedialog that makes it possible to
browse for a file to open...I guess there's a nice API for that, which skould
I d how do I use it
You can use either the Common Dialog control or, since you asked for code, the Common Dialog API:
http://www.mvps.org/vbnet/code/comctl/fileopen.htm
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)