home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / misc / 5363 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.1 KB  |  28 lines

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