Dear Jeph,
I have Stata icons on an XP machine working fine. I suggest trying the
following:
1) as I understand the icon is from Wordpad. Does Wordpad also open
the file? Or is Stata launched when you double-click the file?
2) can you change the program that opens the file?
3) can you register another type (e.g. 123) with a Stata icon?
4) Do you observe similar things with other file types?
5) Is there any program that monitors registry and restores the
settings? (watch-dog kind of a program).
6) Save this as a Stata.reg file and double-click to import to
registry. Before importing, change path to Stata's binary as
appropriate. See if do-files are fixed.
//-----------------------------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.do]
@="Stata11Do"
[HKEY_CLASSES_ROOT\Stata11Do]
@="Stata Do-file"
[HKEY_CLASSES_ROOT\Stata11Do\DefaultIcon]
@="\"C:\\Program Files (x86)\\Stata11\\StataMP-64.exe\",3"
[HKEY_CLASSES_ROOT\Stata11Do\shell]
[HKEY_CLASSES_ROOT\Stata11Do\shell\Edit]
[HKEY_CLASSES_ROOT\Stata11Do\shell\Edit\command]
@="\"C:\\Program Files (x86)\\Stata11\\StataMP-64.exe\" doedit \"%1\""
[HKEY_CLASSES_ROOT\Stata11Do\shell\open]
[HKEY_CLASSES_ROOT\Stata11Do\shell\open\command]
@="\"C:\\Program Files (x86)\\Stata11\\StataMP-64.exe\" \"%1\""
//-----------------------------------------------------------------------
Best regards, Sergiy Radyakin
On Mon, Aug 10, 2009 at 10:19 AM, Jeph Herrin<[email protected]> wrote:
>
> This is the most minor of quibbles, but I have installed
> StataSE 11 on two XP machines (one 32bit, one 64bit), and
> in neither case can I persuade XP to use the Stata icons
> for DTA, DO, and ADO files. The file types are registered,
> and I've jiggled the default behaviour successfully, and
> when I "change icon" in the file type dialog box, I get the
> full list of Stata icons, and can select one, but it will
> not take.
>
> This could just as easily (more easily) be an XP issue, but
> for someone who spends much of their day looking at directories
> of Stata DTA and DO files, it is disconcerting that they all
> have Wordpad icons. Anyone else have this problem?
>
> cheers,
> Jeph
>
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/