Thread View: comp.os.ms-windows.programmer.misc
2 messages
2 total messages
Started by Paul Kohlmiller
Mon, 25 Jan 1993 21:53
Getting file association info
Author: Paul Kohlmiller
Date: Mon, 25 Jan 1993 21:53
Date: Mon, 25 Jan 1993 21:53
11 lines
1228 bytes
1228 bytes
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.
--
// Paul H. Kohlmiller // "Cybers, Macs and Mips" //
// Control Data Systems, Inc. // Internet: paul@svl.cdc.com //
// Acronym under construction. // America Online: Paul CDC //
// All comments are strictly my own. I won't lie but my //
// perception of reality is at best a personal hunch. //
Re: Getting file association info
Author: John Grant
Date: Mon, 25 Jan 1993 23:45
Date: Mon, 25 Jan 1993 23:45
15 lines
1172 bytes
1172 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads