Webbrowser Open links

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
17 posts Page 1 of 2
Contributors
User avatar
MasterCoding
Top Poster
Top Poster
Posts: 156
Joined: Sat Oct 24, 2009 4:26 pm

Webbrowser Open links
MasterCoding
hi does any 1 knows a way to get the webbrowser control contextmenustrip to get away

so i can add my own with open link in a new tab and new window

Thanx
User avatar
Insignia
VIP-Member
VIP-Member
Posts: 238
Joined: Thu Feb 11, 2010 5:15 pm

Re: Webbrowser Open links
Insignia
User avatar
kimbo
Member
Member
Posts: 46
Joined: Sun Jul 26, 2009 7:27 pm

Re: Webbrowser Open links
kimbo
if ya add a contextmenustrip to the project ya can change the web browser contextmenustrip property to it and dat will turn off the default one and use ya own x
xxx i want 2b ur babys momma xxx
User avatar
MasterCoding
Top Poster
Top Poster
Posts: 156
Joined: Sat Oct 24, 2009 4:26 pm

Re: Webbrowser Open links
MasterCoding
guys i already know how to delete that context menu strip but i wanna add in my context menu strip open link in a new tab and in a new window i wanna add only that so
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Re: Webbrowser Open links
Usman55
Hello MasterCoding,

The way you do it is that you make your own Context Menu Strip and then Set the WebBrowser Control's ContextMenuStrip property to the name of your Context Menu Strip. Hope that helps you out!

Thank you.
Image
User avatar
MasterCoding
Top Poster
Top Poster
Posts: 156
Joined: Sat Oct 24, 2009 4:26 pm

Re: Webbrowser Open links
MasterCoding
i don't get you i want just my own controls add to my context menu strip but i don't know the codes
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Re: Webbrowser Open links
Usman55
Hello again,

I'll tell you from the beginning:

1. Create a new Form.
2. Add a Web Browser control.
3. Add a Context Menu Strip.
4. Add all the controls that you want to the Context Menu Strip.
5. Now set the Web Browser's Context Menu Strip property to the Context Menu Strip that you added.

You're done!
Image
User avatar
MasterCoding
Top Poster
Top Poster
Posts: 156
Joined: Sat Oct 24, 2009 4:26 pm

Re: Webbrowser Open links
MasterCoding
yes yes i JUST WANT TO KNOW SOME CODES NOT THE STEPS JUST CODEs!!!!!!!!!!!!!!!!!!!!!!
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Re: Webbrowser Open links
Usman55
What type of codes?
Image
User avatar
MasterCoding
Top Poster
Top Poster
Posts: 156
Joined: Sat Oct 24, 2009 4:26 pm

Re: Webbrowser Open links
MasterCoding
the codes to do that WITH VB the code codes
17 posts Page 1 of 2
Return to “Tutorial Requests”