L laohe Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-22 #1 单击一个按钮,怎么获取Temporary Internet Files,并将其显示在EDIT控件中 我是初学者,所以还请大侠您多多赐教,谢谢
D DragonPC_??? Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-22 #2 [HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/Shell Folders] "Cache"="C://WINDOWS//Temporary Internet Files" TRegistry的用法看帮助
[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/Shell Folders] "Cache"="C://WINDOWS//Temporary Internet Files" TRegistry的用法看帮助
L laohe Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-22 #3 现在可以了 function GetIExplorerCacheFolder(): string; var ; reg: TRegistry; begin ; reg := TRegistry.Create(); ; try ; ; reg.RootKey := HKEY_CURRENT_USER; ; ; if reg.OpenKey('/Software/Microsoft/Windows/CurrentVersion/Explorer/Shell Folders',false) then ; ; begin ; ; ; Result := reg.ReadString('Cache'); ; ; ; reg.CloseKey(); ; ; end; ; finally ; ; reg.Free(); ;end; End;
现在可以了 function GetIExplorerCacheFolder(): string; var ; reg: TRegistry; begin ; reg := TRegistry.Create(); ; try ; ; reg.RootKey := HKEY_CURRENT_USER; ; ; if reg.OpenKey('/Software/Microsoft/Windows/CurrentVersion/Explorer/Shell Folders',false) then ; ; begin ; ; ; Result := reg.ReadString('Cache'); ; ; ; reg.CloseKey(); ; ; end; ; finally ; ; reg.Free(); ;end; End;
D DragonPC_??? Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-22 #5 没钱你也得给俺先呀,不然哥们可就不地道了,这么着吧,我的待答问题有一题在送分,加 个贴吧,分你一半好了
L laohe Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-22 #6 不好意思,我是初学者,我现在我就把所有加档给你,不好意思 以后多多向你请教,谢谢兄台