![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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\DefaultIco n] @="<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/...er.application ), windows returns me an error. What I have to do? what's the correct way to link my application in the registry protocol? |
#3
| |||
| |||
|
|
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\DefaultIco n] @="<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/...er.application ), windows returns me an error. What I have to do? what's the correct way to link my application in the registry protocol? |
#4
| |||
| |||
|
|
Another thing to consider is to copy the values under one of the following registry nodes: [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ftp] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https] All three classes are handled by url.dll and iexplore.exe this might be a cleaner solution. -- 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\DefaultIco n] @="<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/...er.application ), windows returns me an error. What I have to do? what's the correct way to link my application in the registry protocol? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |