Z zs174 Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-16 #1 请问如何让自己做的浏览器在运行是成为默认浏览器,关闭时恢复原来的浏览器。 或者怎样才能在做出像腾讯浏览器那样。 很急,请各位高手帮忙。
Y yaya8163 Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-16 #2 [HKEY_LOCAL_MACHINE/Software/CLASSES/htmlfile/shell/open/command] @="/"C://Program Files//我的浏览器程序/" %1" [HKEY_LOCAL_MACHINE/Software/CLASSES/htmlfile/shell/opennew/command] @="/"C://Program Files//我的浏览器程序/""
[HKEY_LOCAL_MACHINE/Software/CLASSES/htmlfile/shell/open/command] @="/"C://Program Files//我的浏览器程序/" %1" [HKEY_LOCAL_MACHINE/Software/CLASSES/htmlfile/shell/opennew/command] @="/"C://Program Files//我的浏览器程序/""
Z zs174 Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-16 #3 要怎么样才能加在程序里,或者怎么样才能让弹出的浏览器为我指定的浏览器
5 52free Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-19 #5 yaya8163的方法如果可以的话 那就通过delphi的TRegistry 设置那个值不就完事了
刀 刀剑如梦 Unregistered / Unconfirmed GUEST, unregistred user! 2003-06-02 #9 var Reg:TRegistry; begin Reg:=TRegistry.Create; Reg.RootKey:=HKEY_LOCAL_MACHINE; try Reg.OpenKey('/Software/CLASSES/htmlfile/shell/open/command',true); Reg.DeleteValue('); Reg.WriteString('',OldHomepage); finally Reg.CloseKey; end; end;
var Reg:TRegistry; begin Reg:=TRegistry.Create; Reg.RootKey:=HKEY_LOCAL_MACHINE; try Reg.OpenKey('/Software/CLASSES/htmlfile/shell/open/command',true); Reg.DeleteValue('); Reg.WriteString('',OldHomepage); finally Reg.CloseKey; end; end;