get setRegistry ?

Mark Brownell gizmotron at earthlink.net
Wed Jan 25 16:31:07 EST 2006


>Mark-
>
>Tuesday, January 24, 2006, 9:32:25 AM, you wrote:
>
>> Anyone know how to write the (get setRegistry) registration below in Transcript?
>
>> [HKEY_CLASSES_ROOT\vnc]
>> @="URL:VNC Protocol"
>> "URL Protocol"="http://www.realvnc.com/"
>
>> [HKEY_CLASSES_ROOT\vnc\DefaultIcon]
>> @="C:\\Program Files\\RealVNC\\WinVNC\\winvnc.exe,0"
>
>> [HKEY_CLASSES_ROOT\vnc\shell]
>
>> [HKEY_CLASSES_ROOT\vnc\shell\open]
>
>> [HKEY_CLASSES_ROOT\vnc\shell\open\command]
>> @="C:\\Program Files\\RealVNC\\WinVNC\\winvnc.exe -connect %1"
>
>Not really sure what you're trying to accomplish here (installing vnc
>server on the fly, perhaps? otherwise, shouldn't installing vnc server
>do this for you?), but I think what you're looking for is...
>
>get setRegistry("HKEY_CLASSES_ROOT\vnc\", \
>"URL:VNC Protocol")
>
>get setRegistry("HKEY_CLASSES_ROOT\vnc\URL Protocol", \
>"http://www.realvnc.com/")
>
>get setRegistry("HKEY_CLASSES_ROOT\vnc\DefaultIcon\" \
>"C:\\Program Files\\RealVNC\\WinVNC\\winvnc.exe,0"
>
>get setRegistry("HKEY_CLASSES_ROOT\vnc\shell\open\command\", \
>"C:\Program Files\RealVNC\WinVNC\winvnc.exe -connect %1")
>
>BTW: I find tightvnc to be superior to realvnc in both speed and
>flexibility of options...
>
>-- 
>-Mark Wieder
> mwieder at ahsoftware.net


Not trying to install vnc, it was the exact example of a setup I want to test for. Thanks for showing me the technique. 

Mark



More information about the use-livecode mailing list