
11-13-2006, 02:07 PM
|
|
Freshman
|
|
Join Date: Mar 2006
Location: Pittsburgh, PA
Posts: 44
|
|
File Types and System Registry...
|
Can anyone give, or point me to, a tutorial on how the system registry works with File Types? The information exists within the System Registry to know which File Extensions are related to which application(s) and the corresponding Launch String for an application to use a file.
For example .XLS Files are typically opened with Microsoft Excel. Somewhere in the system registry is a key that instructs the OS to open the necessary application. It might look something like the following: "C:\Program Files\Microsoft Office\Excel.exe %1". Where %1 is the old DOS reference to the parameter, which in this case would be the .XLS FilePath and Name.
My application is storing and retrieving attachments from an SQL Server DB, and I want to be able to determine whether the client PC can open an attachment by using the system registry.
|
Last edited by GForce; 11-13-2006 at 02:08 PM.
Reason: Fix typo
|