Solved

Launching My App On Html Link

Posted on 2004-04-02
1
137 Views
Last Modified: 2010-05-02
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
Comment
Question by:neutrinohunter
1 Comment
 
LVL 17

Accepted Solution

by:
zzzzzooc earned 50 total points
ID: 10746273
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now