Click here to Skip to main content
15,923,852 members
Home / Discussions / C#
   

C#

 
GeneralRe: open window Pin
Heath Stewart26-Mar-05 13:15
protectorHeath Stewart26-Mar-05 13:15 
GeneralRe: open window Pin
dabuskol26-Mar-05 18:11
dabuskol26-Mar-05 18:11 
GeneralRe: open window Pin
Heath Stewart26-Mar-05 20:26
protectorHeath Stewart26-Mar-05 20:26 
GeneralCheck if a user have full access to a shared directory Pin
Johny Ng25-Mar-05 13:19
Johny Ng25-Mar-05 13:19 
GeneralRe: Check if a user have full access to a shared directory Pin
Heath Stewart26-Mar-05 13:13
protectorHeath Stewart26-Mar-05 13:13 
GeneralAccessing DotNet DLL from ASP Pin
Anand Chida25-Mar-05 10:05
Anand Chida25-Mar-05 10:05 
GeneralRe: Accessing DotNet DLL from ASP Pin
Heath Stewart25-Mar-05 11:48
protectorHeath Stewart25-Mar-05 11:48 
GeneralNew WebBrowser Pin
thedjhacker25-Mar-05 8:09
thedjhacker25-Mar-05 8:09 
I have a program that has the basic webBrowser funtion.
im trying to give it the abilty of tab browsing throught the button to add new tab. i.m having troble with the name of the new broswer object. i call it tempWebBrowser when i create it then change the name to webBrowser and the number of the tab it is on. the problem is i can not get it to do anything as the name doesnt exist in the code to get it to navigate. is there away of saftly creating a controll in runtime and being able to use it in the code.
here is the code im using to create the tab and the new webBrowser.
private void newTabToolStripButton_Click(object sender, EventArgs e)<br />
        {<br />
            TabPage tempTabpage1 = new TabPage();<br />
            int i = tabControl1.TabCount;<br />
            //string tempWebBroswer = "webBrowser" + i.ToString();<br />
            <br />
            WebBrowser tempWebBrowser = new WebBrowser();<br />
             tempWebBrowser.Name = "webBrowser" + (i + 1);<br />
            tempWebBrowser.Dock = DockStyle.Fill;<br />
            tempTabpage1.Name = "tabPage" + (i + 1);<br />
            tempTabpage1.Text = "tabPage" + (i + 1);<br />
           tempTabpage1.Controls.Add(tempWebBrowser);<br />
            tabControl1.TabPages.Add(tempTabpage1);<br />
           tempWebBrowser.Navigate("www.google.com");<br />
           MessageBox.Show(tempWebBrowser.Name);<br />
       }


any help on how i can create the new webBroswer objects and then code the go button to work for them.
GeneralRe: New WebBrowser Pin
Heath Stewart25-Mar-05 11:39
protectorHeath Stewart25-Mar-05 11:39 
GeneralRe: New WebBrowser Pin
thedjhacker25-Mar-05 12:38
thedjhacker25-Mar-05 12:38 
GeneralPhoto Printing Wizard Pin
tommazzo25-Mar-05 6:02
tommazzo25-Mar-05 6:02 
GeneralRe: Photo Printing Wizard Pin
Dave Kreskowiak25-Mar-05 7:30
mveDave Kreskowiak25-Mar-05 7:30 
GeneralRe: Photo Printing Wizard Pin
tommazzo25-Mar-05 11:15
tommazzo25-Mar-05 11:15 
GeneralRe: Photo Printing Wizard Pin
Dave Kreskowiak25-Mar-05 11:45
mveDave Kreskowiak25-Mar-05 11:45 
GeneralRe: Photo Printing Wizard Pin
Heath Stewart25-Mar-05 12:10
protectorHeath Stewart25-Mar-05 12:10 
GeneralRe: Photo Printing Wizard Pin
tommazzo25-Mar-05 12:35
tommazzo25-Mar-05 12:35 
GeneralRe: Photo Printing Wizard Pin
Heath Stewart25-Mar-05 12:58
protectorHeath Stewart25-Mar-05 12:58 
GeneralRe: Photo Printing Wizard Pin
tommazzo25-Mar-05 12:37
tommazzo25-Mar-05 12:37 
GeneralRe: Photo Printing Wizard Pin
Heath Stewart25-Mar-05 12:55
protectorHeath Stewart25-Mar-05 12:55 
GeneralRe: Photo Printing Wizard Pin
tommazzo25-Mar-05 13:11
tommazzo25-Mar-05 13:11 
GeneralRe: Photo Printing Wizard Pin
Dave Kreskowiak25-Mar-05 13:42
mveDave Kreskowiak25-Mar-05 13:42 
GeneralRe: Photo Printing Wizard Pin
tommazzo25-Mar-05 13:52
tommazzo25-Mar-05 13:52 
GeneralRe: Photo Printing Wizard Pin
Heath Stewart25-Mar-05 14:21
protectorHeath Stewart25-Mar-05 14:21 
GeneralRe: Photo Printing Wizard Pin
tommazzo26-Mar-05 7:36
tommazzo26-Mar-05 7:36 
GeneralRe: Photo Printing Wizard Pin
Heath Stewart26-Mar-05 8:16
protectorHeath Stewart26-Mar-05 8:16 

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.