11 Replies - 2500 Views - Last Post: 06 July 2012 - 08:14 PM Rate Topic: -----

#1 Omar Hegazy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 05-July 12

I Make A New Browser .. But Can't Complete It ..There Problems'

Posted 05 July 2012 - 04:30 PM

Hey All ..

First..
My Name : Omar Hegazy

And My Age Is 15 Year ..

And Iam From Egypt ..

I Can Coding Programes By VB.NET :D

But Not Good ..

And ..
I Have Some Problem's in My Browser ..
First It's Image Of Browser ..

Posted Image


and i need code to add TAB BROWSER And Code NEW WINDOW

I need any one help me please .. to finish my browser .. and thanks for Great Site DreaMiNcoDe

Wait Comment's ,,




Is This A Good Question/Topic? 0
  • +

Replies To: I Make A New Browser .. But Can't Complete It ..There Problems'

#2 sela007  Icon User is offline

  • D.I.C Addict

Reputation: 138
  • View blog
  • Posts: 838
  • Joined: 21-December 11

Re: I Make A New Browser .. But Can't Complete It ..There Problems'

Posted 05 July 2012 - 05:02 PM

Hi Omar! Your Tiger Browser looks great!
If you want tabs why don't you use tab control?
You say you want code for creating new window, it means you need code fore creating new form. Try this code:
' form1 is the name of your main form class
Dim frm As New Form1
frm.Show

This post has been edited by sela007: 05 July 2012 - 05:02 PM

Was This Post Helpful? 0
  • +
  • -

#3 Omar Hegazy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 05-July 12

Re: I Make A New Browser .. But Can't Complete It ..There Problems'

Posted 05 July 2012 - 05:13 PM

View Postsela007, on 05 July 2012 - 05:02 PM, said:

Hi Omar! Your Tiger Browser looks great!
If you want tabs why don't you use tab control?
You say you want code for creating new window, it means you need code fore creating new form. Try this code:
' form1 is the name of your main form class
Dim frm As New Form1
frm.Show


thanks Bro .. But I Dont I do not understand this code .. Can You Give Me Source Code ..

And I Try New Window And And Succes .. thanks ..

But PLease Answer Me How I do Tabs With Tab Control
Was This Post Helpful? 0
  • +
  • -

#4 sela007  Icon User is offline

  • D.I.C Addict

Reputation: 138
  • View blog
  • Posts: 838
  • Joined: 21-December 11

Re: I Make A New Browser .. But Can't Complete It ..There Problems'

Posted 05 July 2012 - 05:38 PM

Take a look at this video tutorial.
You can add tab pages in design time and in runtime like this:
TabControl1.TabPages.Add("New tab")

After you add new tab, you will need to create new webbrowser control and add to new tab page.
Dim wb1 As New WebBrowser
'set wb1 location
'set wb1 size
'set wb1 name
TabControl1.TabPages(X).Controls.Add(wb1)

This is all I can show you, now its on you, start coding and post your code if you stuck somewhere.
Was This Post Helpful? 0
  • +
  • -

#5 Omar Hegazy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 05-July 12

Re: I Make A New Browser .. But Can't Complete It ..There Problems'

Posted 05 July 2012 - 05:46 PM

View Postsela007, on 05 July 2012 - 05:38 PM, said:

Take a look at this video tutorial.
You can add tab pages in design time and in runtime like this:
TabControl1.TabPages.Add("New tab")

After you add new tab, you will need to create new webbrowser control and add to new tab page.
Dim wb1 As New WebBrowser
'set wb1 location
'set wb1 size
'set wb1 name
TabControl1.TabPages(X).Controls.Add(wb1)

This is all I can show you, now its on you, start coding and post your code if you stuck somewhere.


thanks ,, Now

1- I Make Button New Tab

And Add What Code I add

2- I Make New WebBrowser2

And Add What Code I add

3- I add tab control and put it where and what code i do ..

sorry
idont understand all things in english

beuase my mother language is arabic ..


and thanks for help
Was This Post Helpful? 0
  • +
  • -

#6 sela007  Icon User is offline

  • D.I.C Addict

Reputation: 138
  • View blog
  • Posts: 838
  • Joined: 21-December 11

Re: I Make A New Browser .. But Can't Complete It ..There Problems'

Posted 05 July 2012 - 06:11 PM

This code goes in your button "new tab"
TabControl1.TabPages.Add("New tab")
Dim wb1 As New WebBrowser
wb1.Dock = DockStyle.Fill ' set webbrowser size to be always =tab page size
TabControl1.TabPages(TabControl1.TabPages.Count-1).Controls.Add(wb1)


Was This Post Helpful? 0
  • +
  • -

#7 Omar Hegazy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 05-July 12

Re: I Make A New Browser .. But Can't Complete It ..There Problems'

Posted 05 July 2012 - 07:44 PM

View Postsela007, on 05 July 2012 - 06:11 PM, said:

This code goes in your button "new tab"
TabControl1.TabPages.Add("New tab")
Dim wb1 As New WebBrowser
wb1.Dock = DockStyle.Fill ' set webbrowser size to be always =tab page size
TabControl1.TabPages(TabControl1.TabPages.Count-1).Controls.Add(wb1)




thanks .. Bro I Try It And Succes .. Thhhhhhhhhhhhhhhhhhhhhhhhhx You Very Much ..
Was This Post Helpful? 0
  • +
  • -

#8 trevster344  Icon User is offline

  • The Peasant
  • member icon

Reputation: 224
  • View blog
  • Posts: 1,499
  • Joined: 16-March 11

Re: I Make A New Browser .. But Can't Complete It ..There Problems'

Posted 06 July 2012 - 01:04 PM

What you need to do is understand object oriented programming. If you understand that fully, this will be no hard task for you to use your imagination to solve.
Was This Post Helpful? 0
  • +
  • -

#9 sela007  Icon User is offline

  • D.I.C Addict

Reputation: 138
  • View blog
  • Posts: 838
  • Joined: 21-December 11

Re: I Make A New Browser .. But Can't Complete It ..There Problems'

Posted 06 July 2012 - 01:39 PM

View Posttrevster344, on 06 July 2012 - 01:04 PM, said:

What you need to do is understand object oriented programming. If you understand that fully, this will be no hard task for you to use your imagination to solve.
I agree, and I sure hi will, but with 15 years fun comes first :), if he coding for fun that is great!
Was This Post Helpful? 0
  • +
  • -

#10 Omar Hegazy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 05-July 12

Re: I Make A New Browser .. But Can't Complete It ..There Problems'

Posted 06 July 2012 - 04:50 PM

View Postsela007, on 06 July 2012 - 01:39 PM, said:

View Posttrevster344, on 06 July 2012 - 01:04 PM, said:

What you need to do is understand object oriented programming. If you understand that fully, this will be no hard task for you to use your imagination to solve.
I agree, and I sure hi will, but with 15 years fun comes first :), if he coding for fun that is great!


thanks .. sela007 .. i done browser and now browser complete and i ill add it here .. :D thxxxx for help :)
Was This Post Helpful? 0
  • +
  • -

#11 sela007  Icon User is offline

  • D.I.C Addict

Reputation: 138
  • View blog
  • Posts: 838
  • Joined: 21-December 11

Re: I Make A New Browser .. But Can't Complete It ..There Problems'

Posted 06 July 2012 - 07:38 PM

View PostOmar Hegazy, on 06 July 2012 - 04:50 PM, said:

thanks .. sela007 .. i done browser and now browser complete and i ill add it here .. :D thxxxx for help :)
Your welcome! :tup:
Was This Post Helpful? 0
  • +
  • -

#12 trevster344  Icon User is offline

  • The Peasant
  • member icon

Reputation: 224
  • View blog
  • Posts: 1,499
  • Joined: 16-March 11

Re: I Make A New Browser .. But Can't Complete It ..There Problems'

Posted 06 July 2012 - 08:14 PM

View Postsela007, on 06 July 2012 - 02:39 PM, said:

View Posttrevster344, on 06 July 2012 - 01:04 PM, said:

What you need to do is understand object oriented programming. If you understand that fully, this will be no hard task for you to use your imagination to solve.
I agree, and I sure hi will, but with 15 years fun comes first :), if he coding for fun that is great!


Haha it's way more fun when your abilities are limitless due to the understanding. ;) Only so far off here. :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1