Click here to Skip to main content
15,896,063 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: String obfuscation and function names Pin
LogicNP21-Sep-11 1:12
LogicNP21-Sep-11 1:12 
QuestionNullReferenceException on Me.Invoke Pin
Dominick Marciano22-Aug-10 14:09
professionalDominick Marciano22-Aug-10 14:09 
AnswerRe: NullReferenceException on Me.Invoke Pin
Dominick Marciano22-Aug-10 15:19
professionalDominick Marciano22-Aug-10 15:19 
QuestionConversion of BIFF7 to BIFF8 files Pin
Dominick Marciano22-Aug-10 10:58
professionalDominick Marciano22-Aug-10 10:58 
AnswerRe: Conversion of BIFF7 to BIFF8 files Pin
Luc Pattyn22-Aug-10 11:23
sitebuilderLuc Pattyn22-Aug-10 11:23 
GeneralRe: Conversion of BIFF7 to BIFF8 files Pin
Dominick Marciano22-Aug-10 12:31
professionalDominick Marciano22-Aug-10 12:31 
QuestionRe: Conversion of BIFF7 to BIFF8 files Pin
timslhsu14-Jan-11 20:43
timslhsu14-Jan-11 20:43 
QuestionHow do I get a custom context menu to show up??? Pin
thebiostyle22-Aug-10 9:26
thebiostyle22-Aug-10 9:26 
Okay, I just started back working on my web browser, and I want to have my custom context menu show up when the user clicks inside the browser..... This is what I have...
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Dim Browser As New WebBrowser
    TabControl1.TabPages.Add("New Tab")
    Browser.Name = "Web Browser"
    Browser.Dock = DockStyle.Fill
    TabControl1.SelectedTab.Controls.Add(Browser)
    AddHandler Browser.ProgressChanged, AddressOf Loading
    AddHandler Browser.DocumentCompleted, AddressOf Done
    Int = Int + 1
    CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate(UrlLocation.Text)
End Sub



That is where I suspect the bit of code will have to go... Since I'm using Tab Control instead of the WebBrowser...

Also, within the Context Menu, I am stuck on two parts...
Private Sub OpenLinkInNewWindowToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenLinkInNewWindowToolStripMenuItem.Click

End Sub

Private Sub OpenLinkInNewTabToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenLinkInNewTabToolStripMenuItem.Click

End Sub



What code would I add there to have it allow the user the option to open the Link in a new tab or a new window when they right-click over a link on the current webpage?


This is all I should need to complete my Web Browser for now.... Thanks.
~tbs

AnswerRe: How do I get a custom context menu to show up??? Pin
Luc Pattyn22-Aug-10 11:31
sitebuilderLuc Pattyn22-Aug-10 11:31 
AnswerRe: How do I get a custom context menu to show up??? Pin
Tom Foswick24-Aug-10 22:25
Tom Foswick24-Aug-10 22:25 
GeneralRe: How do I get a custom context menu to show up??? Pin
thebiostyle25-Aug-10 9:41
thebiostyle25-Aug-10 9:41 
GeneralRe: How do I get a custom context menu to show up??? [modified] Pin
Tom Foswick25-Aug-10 9:56
Tom Foswick25-Aug-10 9:56 
GeneralRe: How do I get a custom context menu to show up??? Pin
thebiostyle28-Aug-10 13:33
thebiostyle28-Aug-10 13:33 
GeneralRe: How do I get a custom context menu to show up??? Pin
Tom Foswick30-Aug-10 5:51
Tom Foswick30-Aug-10 5:51 
GeneralRe: How do I get a custom context menu to show up??? Pin
thebiostyle30-Aug-10 13:36
thebiostyle30-Aug-10 13:36 
GeneralRe: How do I get a custom context menu to show up??? Pin
Tom Foswick30-Aug-10 14:30
Tom Foswick30-Aug-10 14:30 
GeneralRe: How do I get a custom context menu to show up??? [modified] Pin
thebiostyle4-Sep-10 7:29
thebiostyle4-Sep-10 7:29 
GeneralRe: How do I get a custom context menu to show up??? Pin
Tom Foswick4-Sep-10 7:50
Tom Foswick4-Sep-10 7:50 
GeneralRe: How do I get a custom context menu to show up??? Pin
thebiostyle4-Sep-10 7:53
thebiostyle4-Sep-10 7:53 
QuestionAn easy way to archive many files into one file? [Solved] Pin
Pamodh22-Aug-10 6:28
Pamodh22-Aug-10 6:28 
AnswerRe: An easy way to archive many files into one file? Pin
Eddy Vluggen22-Aug-10 9:57
professionalEddy Vluggen22-Aug-10 9:57 
GeneralRe: An easy way to archive many files into one file? Pin
Pamodh23-Aug-10 5:34
Pamodh23-Aug-10 5:34 
GeneralRe: An easy way to archive many files into one file? Pin
Eddy Vluggen23-Aug-10 9:40
professionalEddy Vluggen23-Aug-10 9:40 
GeneralRe: An easy way to archive many files into one file? Pin
Pamodh24-Aug-10 1:47
Pamodh24-Aug-10 1:47 
QuestionProblem in saving image to database from picturebox. VB.Net 2008. Framework 3.5. Pin
priyamtheone20-Aug-10 3:23
priyamtheone20-Aug-10 3:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.