home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!gatech!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!nott!emr1!jagrant
- From: jagrant@emr1.emr.ca (John Grant)
- Subject: Re: Getting file association info
- Message-ID: <1993Jan25.234511.27782@emr1.emr.ca>
- Keywords: windows associate application document
- Organization: Energy, Mines, and Resources, Ottawa
- References: <51656@shamash.cdc.com>
- Distribution: usa
- Date: Mon, 25 Jan 1993 23:45:11 GMT
- Lines: 15
-
- In article <51656@shamash.cdc.com> paul@svl.cdc.com (Paul Kohlmiller) writes:
- >In windows you can associate a file extension (eg. .doc) with an application
- >(eg. MS Word). I need to get this association information from within my
- >app. I can't find it in Petzold or the Windows API. Can someone point me in
- >the right direction? Thanks.
- You could use GetProfileString() to read them from the WIN.INI
- file. The section is [extensions].
-
- John A. Grant jagrant@emr1.emr.ca
- Airborne Geophysics
- Geological Survey of Canada, Ottawa
- --
- John A. Grant jagrant@emr1.emr.ca
- Airborne Geophysics
- Geological Survey of Canada, Ottawa
-