如何使用VB6在目录中列出.dll文件? [英] How to list .dll files in the directory using VB6?

查看:131
本文介绍了如何使用VB6在目录中列出.dll文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想在目录中列出.dll文件(该目录仍包含其他文件),该怎么做?谢谢.

Hi all,
I want to list .dll files in the directory (the directory still contains other files), how to do this? Thanks.

推荐答案

看看这些:
链接1 [链接2 [链接3 [ ^ ]

如果需要,请在 ^ ].
Have a look at these:
Link 1[^]
Link 2[^]
Link 3[^]

If needed, look here[^] for more.


如果您的意思是显示特定目录中所有dll文件的列表,则:
C#
If you mean show a list of all dll files in a particular directory, then:
C#
myTextBox.Lines = Directory.GetFiles(path, "*.dll");


VB


VB

myTextBox.Lines = Directory.GetFiles(path, "*.dll")


如果不这样做,那是什么意思?


If you don''t, then what do you mean?


这篇关于如何使用VB6在目录中列出.dll文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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