如何在上下文菜单中将我的应用添加到Shell文件夹? [英] How to add my app to shell folder in context menu?
本文介绍了如何在上下文菜单中将我的应用添加到Shell文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道如何将我的应用程序(名称为JPG2LV.exe)添加到上下文菜单中的shell文件夹中吗?
我的应用程序正在读取每个选定文件夹中的文件(* .jpg),并在列表视图中显示它们.
当我使用注册表添加它时,它会显示.
当我选择多文件夹时,它会打开许多(JPG2LV.exe)
但是,如果我仅使我的应用程序(JPG2LV.exe)进入一个进程,它将崩溃!
因此,请任何人知道如何编写代码.
谢谢
Hi,
I want to know how to add my app (it''s name is JPG2LV.exe) to a shell folder in context menu?
My application is reading files (*.jpg) inside each of the selected folders and shows them in a listview.
When I added it using registry it shows.
When I select multi-folders it opens many (JPG2LV.exe)
But if I make my app (JPG2LV.exe) only one single in process, it crashes!
So please if anyone know how to code it.
Thanks
推荐答案
您尝试读取命令行值吗?
Did you try to read command line values?
Dim cmdp As String = String.Empty
For Each cmdp In My.Application.CommandLineArgs
MsgBox(cmdp, MsgBoxStyle.Information, "CommandLine arg.")
Next
这篇关于如何在上下文菜单中将我的应用添加到Shell文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文