943,866 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 2861
  • VB.NET RSS
Jul 24th, 2008
0

WebBrowser

Expand Post »
Hi,
I have a webBrowser and a Button. When i clicked the button I want to display a URL. When it displayed the WebBrowser should be in fullscreen. How can do this?

Thanks in advance.
Renjith
Similar Threads
Reputation Points: 12
Solved Threads: 7
Light Poster
RenjithVR is offline Offline
41 posts
since Mar 2008
Jul 24th, 2008
0

Re: WebBrowser

> Change the Dock Property of Webbrowser control to Fill the Form.
> Change the Form to Screen Size
? Change the FormBorderStyle as None
but Must give another way to close the form or close full screen
VB.NET Syntax (Toggle Plain Text)
  1. Private Sub btnFullScreen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnFullScreen.Click
  2. WebBrowser1.Dock = DockStyle.Fill
  3. WindowState = FormWindowState.Maximized
  4. 'Must give option to close full screen before uncomment it
  5. 'FormBorderStyle = Windows.Forms.FormBorderStyle.None
  6. End Sub
Reputation Points: 44
Solved Threads: 101
Posting Pro
selvaganapathy is offline Offline
547 posts
since Feb 2008
Jul 25th, 2008
0

Re: WebBrowser

Thanks for the valuble reply..
Actually my form has some other controls and a web browser too. In the code i mentioned the web address(for example- http://dictionary.com) to display in the browser control. When i clicked the button(Go) the browser control alone should display in a full screen.

One more thing how do i can remove the close,maximize and minimize button from a form?
Or any way to remove the top bar fully?
Thanks
Renjith
Last edited by RenjithVR; Jul 25th, 2008 at 1:34 am.
Reputation Points: 12
Solved Threads: 7
Light Poster
RenjithVR is offline Offline
41 posts
since Mar 2008
Jul 25th, 2008
0

Re: WebBrowser

i solved all the things that i have mentioned in the prevoius post.
Ur post really helps me a lot i have some more questions not this time...

Thanks
Renjith
Reputation Points: 12
Solved Threads: 7
Light Poster
RenjithVR is offline Offline
41 posts
since Mar 2008
Jul 26th, 2008
0

Re: WebBrowser

i will tell u just in 20 min
Reputation Points: 8
Solved Threads: 1
Light Poster
your uptime is offline Offline
30 posts
since Jul 2008
Jul 26th, 2008
0

Re: WebBrowser

well man i think so i hav to get study through my book and then able to help u...cz its been long time i stated all this
Reputation Points: 8
Solved Threads: 1
Light Poster
your uptime is offline Offline
30 posts
since Jul 2008
Jul 28th, 2008
0

Re: WebBrowser

Hi,

When i run my application the browser control should displayed in a full screen with no tittle bar.

I need help to do the following,

1, When i pressed any key the browser control should get the initial size(shrink to original size).

2, If i can shrink the browser control to original size, how can i close the application(for example if press ctrl+alt+shift the application should close).

Thanks,
Renjith
Reputation Points: 12
Solved Threads: 7
Light Poster
RenjithVR is offline Offline
41 posts
since Mar 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Create table using Command Button
Next Thread in VB.NET Forum Timeline: Reading records from the inventory database:





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC