
One file question, one menu question
Quote:
>Um I have a few probably quick questions. First, I need to create a
>preferences file for an application and need to know how to get the path
>for the directory my application is running, so i can search for the file
>there and create it as necessary.
>The second question is simply can I add icons to my menus? IF so, how?
1. I recommend using the registry to store preferences. It's easy
with either the GetSetting/SaveSetting methods or via the registry
API's. However, the application's path is stored in the App.Path
property.
2. Possible using a subclassing control or WinAPI calls. Have never
done it myself, though.
---------------------
John Tabor
http://userweb.idsonline.com/jtabor