如何在VB6中获取文件扩展名 [英] How to get File Extension name in VB6

查看:349
本文介绍了如何在VB6中获取文件扩展名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个列表,其中包含上传所需的所有文件的名称。

现在,我想知道列表中每个文件的扩展名。怎么做。

请帮帮我。有没有我可以使用的内置API。我在网上搜索,但找到了为获取扩展名而编写的函数。但我希望从一些内置的VB6 API(如果存在)中得到相同的结果。

谢谢

Dinesh

I have a list which contains the name of all the required files for uploading.
Now, i want to know the extension name of each file in the list. How to do it.
Please help me out. Is there any inbuilt API which i can use.I searched the net, but found functions written for getting extension name. But i want to get the same from some inbuilt VB6 API(if exist).
Thanks
Dinesh

推荐答案

谷歌是你的朋友:好好经常拜访他。他可以比在这里发布问题更快地回答问题...



使用您的主题非常快速的搜索,因为搜索词提供了超过700,000次点击,包括: VB6 - 获取文件扩展名 [ ^ ]



将来,请尝试做自己最基础的研究,而不是浪费你的时间或我们的时间。
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...

A very quick search using your subject as the search term gave over 700,000 hits, including this: VB6 - Getting a File's Extension[^]

In future, please try to do at least basic research yourself, and not waste your time or ours.


内置于VB6?没有。



内置于Scripting.FileSystemObjectCOM对象中? [ ^ ]。
In built into VB6? No.

In built into the "Scripting.FileSystemObject" COM object? Yes[^].


这篇关于如何在VB6中获取文件扩展名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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