VB.NET School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 300,420 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,528 people online right now. Registration is fast and FREE... Join Now!




Web Browser NEW Window event.

 

Web Browser NEW Window event., title says it all...

gizzy123

14 Jun, 2009 - 06:02 AM
Post #1

New D.I.C Head
*

Joined: 31 May, 2009
Posts: 35


My Contributions
I got a webbrowser control on 1st form (Form1.vb) and a New Window button...


When i press new window button, SAME window must open (i mean with same content)

heres what i tryed:

CODE
Private Sub newWind_click (ByVal..............
Form2.show



I just copied form1. (Form2 = Form1 copy)


Need quick answer.

User is offlineProfile CardPM
+Quote Post


gizzy123

RE: Web Browser NEW Window Event.

14 Jun, 2009 - 06:09 AM
Post #2

New D.I.C Head
*

Joined: 31 May, 2009
Posts: 35


My Contributions
Never mind, figured it out !

code i used:

CODE
Private Sub newWind_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewWindowToolStripMenuItem.Click
        Dim newwindow As New Form1
        newwindow.Show()
    End Sub


This post has been edited by gizzy123: 14 Jun, 2009 - 06:09 AM
User is offlineProfile CardPM
+Quote Post

Jack Eagles1

RE: Web Browser NEW Window Event.

2 Jul, 2009 - 06:21 AM
Post #3

D.I.C Head
**

Joined: 10 Dec, 2008
Posts: 249



Thanked: 5 times
My Contributions
.

This post has been edited by Jack Eagles1: 2 Jul, 2009 - 06:39 AM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 12:08AM

Live VB.NET Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month