RE: link in registry

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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?

.



Relevant Pages

  • Re: c:windowsinet20001winlogon.exe (unable to find)
    ... Open the Registry Editor... ... How to backup the Windows XP Registry ... Or get Startup Control Panel and use it to disable any reference to ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: c:windowsinet20001winlogon.exe (unable to find)
    ... Open the Registry Editor... ... How to backup the Windows XP Registry ... Or get Startup Control Panel and use it to disable any reference to ... ronsolo Wrote: ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: start-up problem, error messages and everything is very slow.
    ... There is probably still a start reference to scvhost.exe in your registry. ... MS-MVP Windows Shell/User ... should be included in start-up and I am still gertting the message on ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Windows wont forget Symantec
    ... delete all reference to Norton Antivirus on my Windows XP computer. ... A registry scan with Registry Mechanic found one problem under the ... unless you have other Symantec products like ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Make TIF files open using .NET program
    ... I have this code in VB6, and with a proprietary class to access Windows ... Registry, but the main idea is to set the following registry values: ... 'IF YOU HAVE DDE FOR YOUR APPLICATION: ... DDE's advantage is that only ONE INSTANCE of your exe gets executed for all ...
    (microsoft.public.dotnet.framework.drawing)