如何使用URL启动Windows应用程序(.exe) [英] how to launch windows application (.exe) with URL
问题描述
我正在使用网页浏览器,我想在这里启动一个应用程序
(VC ++应用程序.exe)我在
网页浏览器中输入用户名和密码,然后点击进入窗口应用程序应该在浏览器页面上启动。
我尝试过与注册表一样
Windows注册表编辑器版本5.00
[HKEY_CLASSES_ROOT \ DemoApp]
@ =URL:打开YourApp协议
URL协议=
EditFlags= dword:00000002
[HKEY_CLASSES_ROOT\DemoApp\DefaultIcon]
@ =D:\\shravan \\Login \\Debug \\ Login.exe,1
[HKEY_CLASSES_ROOT\DemoApp\Shell]
[HKEY_CLASSES_ROOT \\ \\ DemoApp \Shell\Open]
[HKEY_CLASSES_ROOT \ DemoApp \ Shellhell \Open\Command]
@ = d:\\shravan\\\应用程序\\Debug \\Application.exe \\%1 \
i设置注册表。
但在此之后该怎么办我无法再进一步了。
任何人都可以指导我这个,我是来自中间。
因为我是网络浏览器实施的新手。
请帮助我这个问题。
Hi,
I am Working with web browser, where i want to launch an application
(VC++ application .exe) when i enter the Username and Password in the
web browser and click enter the window application should be launch on the browser page.
I tried with Registry like
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\DemoApp]
@="URL:Open YourApp Protocol"
"URL Protocol"=""
"EditFlags"=dword:00000002
[HKEY_CLASSES_ROOT\DemoApp\DefaultIcon]
@="D:\\shravan\\Login\\Debug\\Login.exe,1"
[HKEY_CLASSES_ROOT\DemoApp\Shell]
[HKEY_CLASSES_ROOT\DemoApp\Shell\Open]
[HKEY_CLASSES_ROOT\DemoApp\Shell\Open\Command]
@="D:\\shravan\\Application\\Debug\\Application.exe\" \"%1\""
i set the registry.
but after this what should i do i am unable to go futher.
can anyone guide me on this, i am struck in middle.
As i am new to web browser implementation.
Kindly help me out on this issue.
推荐答案
使用VC ++或MFC应用程序,您可以通过以下方式启动或执行应用程序,
STARTPROCESS ps;
ShellExecute
WinExc
...
问候
Ranjith
Using VC++ or MFC Application, the following way you can start or execuite the application,
STARTPROCESS ps;
ShellExecute
WinExc
...
Regards
Ranjith
您好b $ b
有一个示例代码,你可以从链接下载
[在.NET中逐步创建ActiveX ]
Hi
There is a sample code, you can download from the link
[Create ActiveX in NET Step by Step]
Hi
我认为你可以使用ActiveX从webbrowser启动''exe''。
要理解ActiveX,你可以请参阅以下网址。
[在.NET中逐步创建ActiveX ]
这篇关于如何使用URL启动Windows应用程序(.exe)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!