在Windows 7上的contextMenu中集成应用程序 [英] Integrate application in contextMenu on Windows 7

查看:63
本文介绍了在Windows 7上的contextMenu中集成应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将我的应用程序添加到Windows 7的上下文菜单中,仅适用于所有类型的文件,而不适用于该文件夹.怎么做?
我只需要文件路径.我从获取args的模块开始

I would like to add my app to the context menu on Windows 7 for all kind of files only, but not for the folder. How to do so ?
I just need the file path. I''ve started with a module to get the args

Module modMain

 Public Sub Main()
    If My.Application.CommandLineArgs.Count = 0 Then Exit Sub
    frmMain.display(My.Application.CommandLineArgs)
    frmMain.ShowDialog()
 End Sub

End Module

推荐答案

首先,您的Main函数不提供任何输入参数...

.NET的高级命令行解析器类 [ ^ ]
使用进程类远程运行任何命令行exe [ ^ ]
CCmdLine-命令行解析器 [命令行参数教程 [
First of all, your Main function does not provide any input parameters...

Advanced command line parser class for .NET[^]
Running Any Command Line exe Remotely Using the Process Class[^]
CCmdLine - A command line parser[^]
Command Line Parameters tutorial[^]


这篇关于在Windows 7上的contextMenu中集成应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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