Did you change the name on the -program define- line inside the file to
match the filename? That line and the filename must match.
tom
----- Original Message -----
From: "b. water" <[email protected]>
To: <[email protected]>
Sent: Friday, November 28, 2003 10:50 AM
Subject: Re: st: Re: how to save ado files
> Olivier, Friedrich,
>
> Thnak you for your suggestions.
>
> Olivier, I have tried that. It did not work. It still save the file as
> filename.ado.txt. I have saved it in the right place (I think)
c:/ado/under
> the right alphabet. I have to follow Friedrich suggestion below to save it
> as ado file.
>
> Friedrich, you are right. I have chosen the option in the explorer as you
> suggested. I have renamed the extension to ado and now the icon is the
same
> as the other ado. However problem prove harder to overcome. Stata still
gave
> me the unrecognised command error r(199) when it encounters the line of my
> do-file that excutes the hacked ado file.
>
> Any other idea?
>
> Thanks,
> bw
>
>
> >From: Friedrich Huebler <[email protected]>
> >Reply-To: [email protected]
> >To: [email protected]
> >Subject: st: Re: how to save ado files
> >Date: Thu, 27 Nov 2003 11:53:04 -0800 (PST)
> >
> >--- "b. water" <[email protected]> wrote:
> > > when i saved the file in the notepad, i save as filename.ado and
> > > file type
> > > as all file. i noticed though that it is saved as a txt file and
> > > the icon
> > > appears different from the other official ado files.
> >
> >Barley,
> >
> >You said the icon is different from official ado files. This
> >indicates that the file was saved as filename.ado.txt, not
> >filename.ado. In the Windows Explorer, go to Tools - Folder Options -
> >View and uncheck "Hide extension for known file types." That should
> >reveal the .txt part and you can then delete it.
> >
> >Friedrich Huebler
> >
> >__________________________________
> >Do you Yahoo!?
> >Free Pop-Up Blocker - Get it now
> >http://companion.yahoo.com/
> >*
> >* For searches and help try:
> >* http://www.stata.com/support/faqs/res/findit.html
> >* http://www.stata.com/support/statalist/faq
> >* http://www.ats.ucla.edu/stat/stata/
>
> _________________________________________________________________
> Groove on the latest from the hot new rock groups! Get downloads, videos,
> and more here. http://special.msn.com/entertainment/wiredformusic.armx
>
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/