One file question, one menu question 
Author Message
 One file question, one menu question

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?

Oh yeah if you could reply to my email address I would appreciate it since
I have little time to check usenet.  Thanks!!!!

Polira



Wed, 30 Aug 2000 03:00:00 GMT  
 One file question, one menu question



Quote:
> Posted and e-mailed



> > Um I have a few probably quick questions.  First, I need to create a
<cut>
> > The second question is simply can I add icons to my menus?  IF so, how?

> Yes, but not easily.  There are several excellent third-party controls to
do
> this.

> --Elocutus

See http://www.vbonline.com/vb-mag/qaweb/screen/menuchk.htm


Sat, 02 Sep 2000 03:00:00 GMT  
 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



Wed, 06 Sep 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Open file questions. (and one graphic question)

2. A couple of questions (Data Environment and one lame one)

3. Two Questions, one simple, one not so!

4. Two questions... one easy, one hard

5. One more File Deletion question

6. -VB one-one-one tutoring

7. WAV files into one big one???

8. Merge two wave file one after one

9. Disable one of menus in custom menu

10. The question no one wants to touch

11. 10 points for the one who answers this question

12. One more ADT 2.0 question

 

 
Powered by phpBB® Forum Software