Click here to Skip to main content
15,915,763 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerClarity Pin
David Mujica11-Aug-10 2:56
David Mujica11-Aug-10 2:56 
GeneralRe: Clarity Pin
εїзεїзεїз11-Aug-10 3:14
εїзεїзεїз11-Aug-10 3:14 
GeneralRe: Clarity Pin
Goutam Patra11-Aug-10 22:46
professionalGoutam Patra11-Aug-10 22:46 
QuestionINotifyPropertyChanged works fine with a DataGridView, but not with a single databound textbox. Why ? Pin
David Mujica10-Aug-10 10:49
David Mujica10-Aug-10 10:49 
QuestionVB Script Pin
protocol4619-Aug-10 23:52
protocol4619-Aug-10 23:52 
AnswerRe: VB Script Pin
Scubapro10-Aug-10 19:23
Scubapro10-Aug-10 19:23 
AnswerRe: VB Script Pin
protocol4614-Sep-10 1:27
protocol4614-Sep-10 1:27 
QuestionHow do I get a custom context menu to show up??? Pin
thebiostyle9-Aug-10 16:43
thebiostyle9-Aug-10 16:43 
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.
AnswerRe: How do I get a custom context menu to show up??? Pin
thebiostyle17-Aug-10 12:11
thebiostyle17-Aug-10 12:11 
GeneralRe: How do I get a custom context menu to show up??? Pin
thebiostyle22-Aug-10 5:27
thebiostyle22-Aug-10 5:27 
QuestionHow to check if tabpage control data loaded or not in vb.net 2005 Pin
Andraw Tang9-Aug-10 6:44
Andraw Tang9-Aug-10 6:44 
AnswerRe: How to check if tabpage control data loaded or not in vb.net 2005 Pin
Eddy Vluggen11-Aug-10 10:19
professionalEddy Vluggen11-Aug-10 10:19 
GeneralRe: How to check if tabpage control data loaded or not in vb.net 2005 Pin
Andraw Tang11-Aug-10 11:49
Andraw Tang11-Aug-10 11:49 
GeneralRe: How to check if tabpage control data loaded or not in vb.net 2005 Pin
Eddy Vluggen11-Aug-10 20:39
professionalEddy Vluggen11-Aug-10 20:39 
QuestionGrabbing file name and path info for a bootstrapper application Pin
normschaef9-Aug-10 6:12
normschaef9-Aug-10 6:12 
AnswerFileInfo Pin
David Mujica9-Aug-10 6:27
David Mujica9-Aug-10 6:27 
Questionreturn executable setup file path Pin
mehrnoosh8-Aug-10 20:22
mehrnoosh8-Aug-10 20:22 
AnswerRe: return executable setup file path Pin
Goutam Patra8-Aug-10 21:02
professionalGoutam Patra8-Aug-10 21:02 
GeneralRe: return executable setup file path Pin
mehrnoosh8-Aug-10 21:09
mehrnoosh8-Aug-10 21:09 
GeneralRe: return executable setup file path Pin
Goutam Patra8-Aug-10 21:30
professionalGoutam Patra8-Aug-10 21:30 
GeneralRe: return executable setup file path Pin
mehrnoosh8-Aug-10 22:05
mehrnoosh8-Aug-10 22:05 
QuestionHow to get real MAC address Pin
ivo758-Aug-10 2:35
ivo758-Aug-10 2:35 
AnswerRe: How to get real MAC address Pin
LloydA1118-Aug-10 11:33
LloydA1118-Aug-10 11:33 
QuestionHow do we program Live chat? Pin
Syed Wayez Ahmed6-Aug-10 20:44
Syed Wayez Ahmed6-Aug-10 20:44 
AnswerRe: How do we program Live chat? Pin
Richard MacCutchan6-Aug-10 21:54
mveRichard MacCutchan6-Aug-10 21:54 

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.