VB6我是否从关联文件中获取文件名 [英] VB6 Do I get a File name from a Associated File
问题描述
我想通过在Windows资源管理器中双击数据文件来启动VB6应用程序。
所有数据文件具有相同的扩展名,因此我可以使用普通Windows文件关联来启动我的应用程序。到目前为止一直很好。
应用程序旨在确定数据文件的修订版,然后选择正确的程序来运行数据文件的特定修订版。 br />
我的问题是我不知道如何获取用于启动VB应用程序的数据文件的文件名,以便我可以处理它。
我使用的是VB6
任何帮助都很感激
谢谢
Hi,
I want to Launch a VB6 app by double clicking Data Files in Windows Explorer.
All The Data files have the same Extention so I can use the Normal Windows File Association to Launch my App. So far so good.
The App is Designed to determine the Revision of the Data File and then select the correct Program to run that particular Revision of the Data File.
My problem is that I dont't know how to get the File Name of the Data file used to launch the VB App so I can then process it.
I am using VB6
Any help is mich appreciated
Thanks
推荐答案
如果您使用VB6并设置了正确的关联,那么双击的文件名将通过 command
If you are using VB6 and have set up the correct associations then the filename double clicked on will be available via the command
变量(命令行)
variable (command line)
这篇关于VB6我是否从关联文件中获取文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!