Date: Sat, 7 Feb 2004 09:19:08 -0500
Reply-To: Don Henderson <donaldjhenderson@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Don Henderson <donaldjhenderson@HOTMAIL.COM>
Subject: Re: call define URL
Content-Type: text/plain; charset="iso-8859-1"
Quentin,
IE uses the windows registry to determine what to do based on the extension.
One some older versions (e.g., W98) I think you could cause it to always
open certain file extentions by whatever app is defined for them in the
registry merely by choosing the check box for that. However, I think the MS
changed that behavior due to security concerns.
HTH,
-don
----- Original Message -----
From: "Quentin McMullen" <quentin_mcmullen@BROWN.EDU>
Newsgroups: bit.listserv.sas-l
To: <SAS-L@LISTSERV.UGA.EDU>
Sent: Saturday, February 07, 2004 9:07 AM
Subject: Re: call define URL
> On Sat, 7 Feb 2004 10:13:57 +0100, Jan Selchau-Hansen <jan@SELCHAU-
> HANSEN.INVALID> wrote in part:
>
> >
> >You have to move the "not printed" column PATH "in front".
> >Otherwise is is not known at the time you need it.
> >Like this.
> >proc report data=a nowd;
> >
> >column path macro descrip ;
> >
>
> <snip>
>
> Thanks Jan! The importance of order is slowly coming back to me from one
> of Ray Pass's papers. BTW, thanks also to Ray, since most of my meager
> understanding of proc report and HTML is growing from "proc report: doin'
> it in style" and similar SUGI papers.
>
> For the second part of my question, I'm still struggling to get IE to open
> a link to a SAS file in the browser window, rather than prompt for a file
> download.
>
> Below are three links:
>
> 1. <A HREF="c:\junk\mymacros\mac1.sas">mac1.sas</a><br>
> 2. <A HREF="c:\junk\mymacros\mac1.htm">mac1.htm</a><br>
> 3. <A HREF="c:\junk\mymacros\mac1.xyz">mac1.xyz</a>
>
> If I click the first link, I get prompted for a file download, and then if
> I click "open" it opens the code in ultra edit. The second link works
> fine. Even the third link works like I want. I guess when IE sees an
> unknown/unregistered extension, it just treats it as a text file. Any
> ideas on how I can get IE to open a .sas file in the browser window, short
> of copying all of my macros from *.sas to *.htm? When I'm browsing on the
> internet, if I click on a .sas or .txt file they open in the browser. But
> when the file is stored locally, they prompt the file download. And this
> macro catalog will be stored locally.
>
> Thanks again,
> --Quentin
>
|