Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

Launching My App On Html Link

I am after launching my applcation when a html link in a webpage is clicked.

Ie link = <a href="Yoda:\\245252537764774636.sw">

When clicked it will bring up my program Yoda and then allow the 245252537764774636.sw to added into something? in the program.

I think I found a way to do it using this code I discovered on another website but have no idea how to create a key in HKEY_Classes_ROOT with VB6 or Inno setup which is the installer I am using for my end users.

----
in HKEY_CLASSES_ROOT you need a new key (ill call it junk)

[HCR \ Junk]
default="My testing Junk"
URL Protocol = ""

[HCR \ Junk \Shell\Open\Command]
default="C:\Program Files\Test\\myapp.exe"
----


HELP! Please

Thx In Adv

neutrinohunter
0
neutrinohunter
Asked:
neutrinohunter
1 Solution
 
zzzzzoocCommented:
For proper understanding on what you're doing, read the below...

"Registering an Application to a URL Protocol"

http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/pluggable/overview/appendix_a.asp

A class module for using the registry...

"A___Ultimate Registry Class"

http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=28518&lngWId=1
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now