home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!think.com!spool.mu.edu!news.nd.edu!mentor.cc.purdue.edu!seib.cc.purdue.edu!user
- From: sage.cc.purdue.edu (Broc Seib)
- Subject: Re: Getting 'Sharing Setup' info from system? (Q)
- Message-ID: <sage.cc.purdue.edu-191292165015@seib.cc.purdue.edu>
- Followup-To: comp.sys.mac.programmer
- Sender: news@mentor.cc.purdue.edu (USENET News)
- Organization: Purdue University
- References: <1992Dec18.234452.13698@netcom.com>
- Date: Sat, 19 Dec 1992 21:57:49 GMT
- Lines: 19
-
- In article <1992Dec18.234452.13698@netcom.com>, milligan@netcom.com
- (Michael Milligan) wrote:
- >
- > I'm interested in getting the name the user has entered in the Sharing Setup
- > control panel for registration purposes in an application I'm writing. Can
- > anybody tell me how this is done?
- >
- > -M
-
- Do this:
- Open the system file with ResEdit. Look in the 'STR ' resource. Open ID's
- -16096 and -16413 respectively. These are the Pascal Strings that have
- been
- entered as the Owner and the Machine Name respectively. You must use
- the Resource Manger Routines (naturally) to access these strings.
-
- -broc
- -----
- tws.s
-