Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Add Entry in the context menu


Add Entry in the context menu

Author
Message
[ WHiSPER ]
[ WHiSPER ]
Forum God
Forum God (682 reputation)Forum God (682 reputation)Forum God (682 reputation)Forum God (682 reputation)Forum God (682 reputation)Forum God (682 reputation)Forum God (682 reputation)Forum God (682 reputation)Forum God (682 reputation)

Group: Forum Members
Posts: 2, Visits: 2
I want to make a program which uses its own extension. I also want to add a entry in the right click context menu (like WinZip). Could you help me? PLEASE....

+========================================+

+-------------------[ WHiSPER: ]-------------------+

+-------------[ THE SOUND OF SiLENCE ]------------+

+========================================+
vshankaa
vshankaa
Forum God
Forum God (38K reputation)Forum God (38K reputation)Forum God (38K reputation)Forum God (38K reputation)Forum God (38K reputation)Forum God (38K reputation)Forum God (38K reputation)Forum God (38K reputation)Forum God (38K reputation)

Group: Forum Members
Posts: 276, Visits: 215
To have your own extension then use this code with the module.

Private sub myFileType()
Dim myfiletype As filetype
myfiletype.ProperName = "MyType"
myfiletype.IconPath = App.Path & "\MyIcon.ico" 'Icon for the file
myfiletype.FullName = "My Own File Type" 'Title
myfiletype.ContentType = "text/list"
myfiletype.Extension = ".mft" 'Extension
myfiletype.Commands.Captions.Add "Open"
myfiletype.Commands.Commands.Add _
"""" + S + """" + " ""%1"""
CreateExtension myfiletype
End Sub

Call myFileType at Form Load to register your file type




___________________________________
You can see my projects in my homepage!
Attachments
modRegType.zip (832 views, 759 bytes)
[ WHiSPER ]
[ WHiSPER ]
Forum God
Forum God (682 reputation)Forum God (682 reputation)Forum God (682 reputation)Forum God (682 reputation)Forum God (682 reputation)Forum God (682 reputation)Forum God (682 reputation)Forum God (682 reputation)Forum God (682 reputation)

Group: Forum Members
Posts: 2, Visits: 2
Thanks for the answer but I want to insert a menu with submenus(containing icons)

+========================================+

+-------------------[ WHiSPER: ]-------------------+

+-------------[ THE SOUND OF SiLENCE ]------------+

+========================================+
GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search