Results 1 to 5 of 5

Thread: Right Click?

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    33
    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.

  2. #2
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523

    :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

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    33
    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.

  4. #4
    Guest
    Search the Forums of VB-World for "File Association".

  5. #5

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    33
    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
  •  



Click Here to Expand Forum to Full Width