WebBrowser

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2008
Posts: 41
Reputation: RenjithVR is an unknown quantity at this point 
Solved Threads: 7
RenjithVR RenjithVR is offline Offline
Light Poster

WebBrowser

 
0
  #1
Jul 24th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 520
Reputation: selvaganapathy is an unknown quantity at this point 
Solved Threads: 89
selvaganapathy's Avatar
selvaganapathy selvaganapathy is offline Offline
Posting Pro

Re: WebBrowser

 
0
  #2
Jul 24th, 2008
> 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
  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
Selva
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 41
Reputation: RenjithVR is an unknown quantity at this point 
Solved Threads: 7
RenjithVR RenjithVR is offline Offline
Light Poster

Re: WebBrowser

 
0
  #3
Jul 25th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 41
Reputation: RenjithVR is an unknown quantity at this point 
Solved Threads: 7
RenjithVR RenjithVR is offline Offline
Light Poster

Re: WebBrowser

 
0
  #4
Jul 25th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 30
Reputation: your uptime is an unknown quantity at this point 
Solved Threads: 1
your uptime your uptime is offline Offline
Light Poster

Re: WebBrowser

 
0
  #5
Jul 26th, 2008
i will tell u just in 20 min
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 30
Reputation: your uptime is an unknown quantity at this point 
Solved Threads: 1
your uptime your uptime is offline Offline
Light Poster

Re: WebBrowser

 
0
  #6
Jul 26th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 41
Reputation: RenjithVR is an unknown quantity at this point 
Solved Threads: 7
RenjithVR RenjithVR is offline Offline
Light Poster

Re: WebBrowser

 
0
  #7
Jul 28th, 2008
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 1915 | Replies: 6
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC