Article ID: 185453 - View products that this article applies to.
This article was previously published under Q185453
If your application makes use of data files and processes command-line arguments, you may want to associate the extension of your application's data file with your executable program name by modifying the Registry.
You can make modifications to the Reg.dat file by calling the RegCreateKey& and RegSetValue& application programming interface (API) functions.
For information about associating a file extension with your application using Visual Basic 4.0, 16-bit, please see the following article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/147805/EN-US/ ): How To Associate a File Extension with Your Application
Article ID: 185453 - Last Review: July 15, 2004 - Revision: 4.2