|
-
Aug 3rd, 2000, 10:13 PM
#1
Thread Starter
Member
OK ya know how some programs you can right click in explorer and they have entries in the menu that pops up. Ive figured out how to get the entry in the menu, but i dont know how to get it to make the program do stuff.
-
Aug 3rd, 2000, 10:21 PM
#2
Fanatic Member
:confused:

What do you mean by "entry"
Do you mean: how to do something when the user clicks on the PopUpMenu? If yes then there is a Click event for the menu control
Code:
Private Sub MnuMenu_Click()
'//Do whatever you want when the user clicks on the menu
End Sub
-
Aug 3rd, 2000, 10:40 PM
#3
Thread Starter
Member
OK when you right click on a file you get a menu that pops up. In this menu theres things like, open, print...or whatever actions are associated with that filetype. How can i make one of these associations work with my program. E.G. i have filetype .mkc i want to be able to right click any .mkc file and be able to open up my program, and read the information in that file.
-
Aug 3rd, 2000, 11:39 PM
#4
Search the Forums of VB-World for "File Association".
-
Aug 4th, 2000, 01:06 PM
#5
Thread Starter
Member
Yea, i can make the association, i just cant figure out how to get my program to read the file i want it to open. E.G. if i want it to open ***.txt my program will open, but ***.txt wont be in the text box. Itll be blank
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|