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
neutrinohunterAsked:
Who is Participating?
 
zzzzzoocConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.