Click here to Skip to main content
15,888,977 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB.NET 2008 The type initializer for ... threw an exception Pin
Eddy Vluggen20-Sep-11 10:40
professionalEddy Vluggen20-Sep-11 10:40 
GeneralRe: VB.NET 2008 The type initializer for ... threw an exception Pin
QuickBooksDev21-Sep-11 3:32
QuickBooksDev21-Sep-11 3:32 
AnswerRe: VB.NET 2008 The type initializer for ... threw an exception Pin
Eddy Vluggen21-Sep-11 7:14
professionalEddy Vluggen21-Sep-11 7:14 
GeneralRe: VB.NET 2008 The type initializer for ... threw an exception Pin
QuickBooksDev23-Sep-11 1:45
QuickBooksDev23-Sep-11 1:45 
GeneralRe: VB.NET 2008 The type initializer for ... threw an exception Pin
Eddy Vluggen23-Sep-11 8:48
professionalEddy Vluggen23-Sep-11 8:48 
QuestionDatabase Design Fields Pin
Eyo118-Sep-11 23:24
Eyo118-Sep-11 23:24 
AnswerRe: Database Design Fields Pin
Eddy Vluggen19-Sep-11 12:09
professionalEddy Vluggen19-Sep-11 12:09 
QuestionHow do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid17-Sep-11 23:17
kamakazy_kid17-Sep-11 23:17 
Ok, I've search Far and wide and have been unable to find a clear answer. What I want is to have a URL opened into my Custom tab controlled browser(Form1.vb)
From a link in my Main form (mainform.vb). I found the code to have it opened in a non tabbed control browser, but not for a tabbed controlled one which was:

VB
Private Sub WebBrowser1_NewWindow(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles WebBrowser1.NewWindow
       ' This will be triggered only when link tries to open in new window.
       ' That means active element in web document will always be a Link.

       Dim myElement As HtmlElement = WebBrowser1.Document.ActiveElement
       Dim target As String = myElement.GetAttribute("href")

       Dim newInstance As New Form1
       newInstance.Show()
       newInstance.WebBrowser1.Navigate(target)

       'cancel opening IE window
       e.Cancel = True
   End Sub



I am using Visual Studio 2010.
AnswerRe: How do I open a url in a custom VB.net tab control brower Pin
DaveAuld17-Sep-11 23:41
professionalDaveAuld17-Sep-11 23:41 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid18-Sep-11 1:28
kamakazy_kid18-Sep-11 1:28 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
DaveAuld18-Sep-11 1:35
professionalDaveAuld18-Sep-11 1:35 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid18-Sep-11 2:18
kamakazy_kid18-Sep-11 2:18 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
DaveAuld18-Sep-11 2:24
professionalDaveAuld18-Sep-11 2:24 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid18-Sep-11 4:59
kamakazy_kid18-Sep-11 4:59 
GeneralRe: How do I open a url in a custom VB.net tab control brower [modified] Pin
DaveAuld18-Sep-11 5:17
professionalDaveAuld18-Sep-11 5:17 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid18-Sep-11 16:14
kamakazy_kid18-Sep-11 16:14 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
DaveAuld18-Sep-11 19:28
professionalDaveAuld18-Sep-11 19:28 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid20-Sep-11 3:57
kamakazy_kid20-Sep-11 3:57 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid20-Sep-11 5:55
kamakazy_kid20-Sep-11 5:55 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid22-Sep-11 3:11
kamakazy_kid22-Sep-11 3:11 
QuestionHow can i make movable Buttons? Pin
Enver Hoxha16-Sep-11 3:46
Enver Hoxha16-Sep-11 3:46 
AnswerRe: How can i make movable Buttons? Pin
MicroVirus16-Sep-11 4:49
MicroVirus16-Sep-11 4:49 
GeneralRe: How can i make movable Buttons? Pin
Lek Plepi18-Sep-11 20:54
Lek Plepi18-Sep-11 20:54 
QuestionSave Flexgrid Data in Acess Pin
Lek Plepi16-Sep-11 3:32
Lek Plepi16-Sep-11 3:32 
AnswerRe: Save Flexgrid Data in Acess Pin
Pradeep Shukla16-Sep-11 4:58
professionalPradeep Shukla16-Sep-11 4:58 

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.