VB6的FileListBox? [英] FileListBox from VB6?

查看:130
本文介绍了VB6的FileListBox?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!


我一直在网上搜索无济于事,但我正在寻找的是

类似于在VB6中存在的FileListBox但似乎已经在2005年删除(或移动)了。


有谁知道显示列表的方法在给定的

目录中的文件,并允许用户选择一个?


任何帮助都会很棒!

解决方案

你好 ko ********* @ gmail.com

Dim tOpenDlg as OpenFileDialog = New OpenFileDialog


if tOpenDlg.ShowDialog = DialogResult.OK then

''用户选择了tOpenDlg.Filename

结束如果


-Boo


大家好!


我一直在网上搜索无济于事,但我正在寻找的是

类似于那里的FileListBox在VB6中似乎已经在2005年删除(或移动)了



有没有人知道如何在给定的文件中显示文件列表

目录,并允许用户选择一个?


任何帮助都会很棒!



2006年8月8日15:14:26 -0700, ko ***** **** @gmail.com 写道:


>大家好!

我一直在搜索网络无济于事,但我正在寻找的东西类似于VB6中的FileListBox,但似乎已经在2005年删除(或移动)了。
<有没有人知道在给定的
目录中显示文件列表的方法,并允许用户选择一个?

任何帮助都会很棒!



旧的FleListBox仍然可以在VB2005中使用。你必须将它添加到ToolBox才能使用

,因为默认情况下它不在ToolBox中。


Gene





VB6中的旧FileListBox在Visual Basic powertools中可用(或者

)。但是你真的需要吗,VB中引入的ShowDialog

2003更好。


Cor


< ko ********* @gmail.comschreef in bericht

news:11 ********************* *@b28g2000cwb.googlegr oups.com ...


大家好!


我一直在网上搜索无济于事,但我正在寻找的是什么是类似于VB6中的FileListBox,但似乎

已被移除(或移动) 2005.


有没有人知道在给定的

目录中显示文件列表的方法,并允许用户选择一个?


任何帮助都会很棒!



Hi All!

I''ve been scouring the web to no avail, but what I''m looking for is
something similar to the FileListBox that was there in VB6 but seems to
have been removed (or moved) in 2005.

Does anyone know of a way to display a list of files in a given
directory, and allow the user to select one?

Any help would be great!

解决方案

Hello ko*********@gmail.com,

Dim tOpenDlg as OpenFileDialog = New OpenFileDialog

if tOpenDlg.ShowDialog = DialogResult.OK then
'' The User selected tOpenDlg.Filename
end if

-Boo

Hi All!

I''ve been scouring the web to no avail, but what I''m looking for is
something similar to the FileListBox that was there in VB6 but seems
to have been removed (or moved) in 2005.

Does anyone know of a way to display a list of files in a given
directory, and allow the user to select one?

Any help would be great!



On 8 Aug 2006 15:14:26 -0700, ko*********@gmail.com wrote:

>Hi All!

I''ve been scouring the web to no avail, but what I''m looking for is
something similar to the FileListBox that was there in VB6 but seems to
have been removed (or moved) in 2005.

Does anyone know of a way to display a list of files in a given
directory, and allow the user to select one?

Any help would be great!

The old FleListBox is still available in VB2005. You will have to add it to the ToolBox to use it
as it is not in the ToolBox by default.

Gene


Hi,

The old FileListBox from VB6 is available in the Visual Basic powertools (or
something). But do you really need that, the ShowDialog introduced in VB
2003 is much nicer.

Cor

<ko*********@gmail.comschreef in bericht
news:11**********************@b28g2000cwb.googlegr oups.com...

Hi All!

I''ve been scouring the web to no avail, but what I''m looking for is
something similar to the FileListBox that was there in VB6 but seems to
have been removed (or moved) in 2005.

Does anyone know of a way to display a list of files in a given
directory, and allow the user to select one?

Any help would be great!



这篇关于VB6的FileListBox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆