RE: link in registry
- From: Mohamad Elarabi <MohamadElarabi@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 18 Dec 2007 19:01:00 -0800
Try putting
iexplore.exe
"http://www.mysito.net/toxic-project/Toxic-Peer.application#Toxic-Peer.application"
The reasoning behind this is the following:
I'm not very familiar with this but I can see that placing an .exe in there
gets to run. A URL on its own is not natively runnable on Windows, you must
have a client to browse the URL. So my guess is if you pass the URL to
iexplore.exe (Internet Explorer) it should launch the URL. You may not need
to preface the entry with C:\progra~...etc. since iexplore.exe is usually in
the path. This way it can be transparent to where IE is installed on the
caller's machine.
Let me know if that works for you. Good luck.
--
Mohamad Elarabi
Lead Developer. MCTS, MCPD.
"Alessandro Sbenaglia" wrote:
Hello,.
I've this problem: My application is distributed by clickonce on my http
site. During pubblication I set "application available in start-menu". Infact
I can see it but it is only an application reference.
In my registry I would like to add a reference like "emule" does.
I added a key like that
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\txc]
@="URL: Toxic Protocol"
"URL Protocol"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\txc\DefaultIcon]
@="<WHAT I HAVE TO PUT HERE?>"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\txc\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\txc\shell\open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\txc\shell\open\command]
@="\"<WHAT I HAVE TO PUT HERE????>\" \"%1\""
My problem is that if in place of <WHAT I HAVE TO PUT HERE> I put in example
"c:\windows\system32\calc.exe" and in explorer bar I write txc://test the
calculator starts succesfully. but if I in place of <WHAT I HAVE TO PUT HERE>
I put the path of my reference ( in example
http://www.mysito.net/toxic-project/Toxic-Peer.application#Toxic-Peer.application ), windows returns me an error.
What I have to do? what's the correct way to link my application in the
registry protocol?
- Prev by Date: RE: Error with Getting Started Sample from WCF
- Next by Date: RE: link in registry
- Previous by thread: RE: VERY NEW to VB .NET need help with a dll
- Next by thread: RE: link in registry
- Index(es):
Relevant Pages
|