Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting full path of a folder (directory)
Message
From
09/06/2003 15:31:58
Fabian Belo
Independent Developer
Argentina
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00795602
Message ID:
00798083
Views:
24
>>>>
>>>>Well, I just checked my box - where I do have IE installed, but Mozilla is my default browser. And oShell.Namespcace(COOKIES) is pointing to the exact location where IE keeps its cookies, not where default browser does. Actually, there is so much software around which can nowadays launch a browser when you click a link in its About box or somewhere in the help - and it's become some sort of a roulette (presumably not Russian) to guess which browser will it launch.
>>>
>>>< bg >Yeah, and since IE is often pre-loaded...:-)
>>
>>
>>Another way was found:
>>
>>
>>o = CREATEOBJECT("WScript.shell")
>>?o.RegRead('HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cookies')
>>
>>
>Fabian,
>
>Does this return the right folder if, say, Netscape is the default browser?

I don't know since I haven't tested with others defaults but I'm pretty sure somebody will.
"Since I've read that alcohol is bad... I quit reading."
Me


http://www.fabianbelo.com.ar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform