Access Your Help and Ini Files Within VB

In small projects I am involved with, I frequently access project-related INI files and help files. At times I work with identical databases on Access and SQL Server, so I need to keep changing the data-source name (DSN) entry in the INI file. Or when I update the help file due to some change in the program, I simply include these files (INI or RTF) as related documents in the project. To do this, use the Project | Add File menu option and select the Add As Related Document checkbox in the file-open dialog. VB automatically opens the associated application (Notepad/Word) when you double-click on these files.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: