如何创建双击文件时打开文件的VB6应用 [英] How to create a VB6 app that opens a file when the file is double clicked on

查看:109
本文介绍了如何创建双击文件时打开文件的VB6应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个vb6应用程序,该应用程序将在我单击文件时运行.

当我单击文件(例如具有特定扩展名的图形文件)时,我想要一个Visual Basic 6 .exe打开文件并进行处理.

这意味着我必须将文件目录和名称传递给应用程序,然后以表格形式显示文件.

因为我想自己做,所以我不想使用任何标准应用程序.

关于如何执行此操作的任何想法?

谢谢.

解决方案

这是Vb.Net论坛,不支持VB6,请尝试此链接以获取有关vb6的更多信息 http://www.vbtutor. net/vbtutor.html

kaymaf

I'd like to create a vb6 application that will run when I click on a file.

When I click on a file, say a graphics file, with a certain extension, I want a visual basic 6 .exe to open the file and process it.

This means I have to pass the file directory and name to the application and I then show the file in a form.

I don't want to use any of the standard applications since I want to do this myself.

Any ideas on how to do this?

Thanks.

解决方案

This is Vb.Net forum and is not support VB6, try this link for more information about vb6 http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/aa350a38-3bb9-4919-9cc1-afaf7fed52f5
 Also, VB6 Tutorial @ http://www.vbtutor.net/vbtutor.html

kaymaf


这篇关于如何创建双击文件时打开文件的VB6应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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