获取visual basic 6中的驱动器信息。 [英] Get drive info in visual basic 6 .

查看:68
本文介绍了获取visual basic 6中的驱动器信息。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

> *我想在visual basic 6中获取驱动器号,驱动器名称,驱动器可用空间,驱动USB端口上的总空间。*

解决方案

驱动器号将是困难......这是驱动器映射的本质



要获得其余信息,您需要使用Kernel32中的函数...示例在哪里 [ ^ ]



Sergey Alexandrovich Kryukov给了你一个重要提示 - 如果你能够(我知道一些公司和大学仍在使用VB6)考虑使用免费的.net版本的VB / VS 来自MS [ ^ ]

> *I want to get drive letter,drive name,drive free space,drive total space on USB port in visual basic 6.*

解决方案

Drive letter is going to be difficult ... that is the nature of drive mappings

To get the rest of the information you will need to use functions in Kernel32 ... examples here[^]

Sergey Alexandrovich Kryukov was giving you a major hint - if you are able to (I know that some companies and colleges are still using VB6) consider using a FREE .net version of VB / VS from MS[^]


这篇关于获取visual basic 6中的驱动器信息。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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