Results 1 to 3 of 3

Thread: How to find out the current Window Viewable Height and Width of the WebBrowser Window

  1. #1

    Thread Starter
    PowerPoster ThEiMp's Avatar
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,899

    How to find out the current Window Viewable Height and Width of the WebBrowser Window

    Hello me again, I am ThEiMp and I need to know how to find out the current Web Browser window Me.Width and also the Me.Height, even if it changes, like a resize too at that at the point of Compile Time access...

    !! Thanks in advance !!
    I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...

    |Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Event's Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Bar | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University |

    Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...

  2. #2
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,205

    Re: How to find out the current Window Viewable Height and Width of the WebBrowser Wi

    Rather than Me have you simply tried using the control name?
    Me would refer to the form if in your form code, the class if in class code or the user control if in a user control code.
    To get the size or any other property of a given control you need to use the name of that control.

    i.e. WebBrowser1.Height

    This should return the height at the time it is called, you should also be able to place a call in your forms resize event if needed


    Of course now that I think about it you should probably be setting the size rather than retrieving it. Generally you would want control of this and size it as the form changes sizes.

    If on the other hand what you really want is the size of the content then that is a completely different matter.
    Last edited by DataMiser; May 30th, 2017 at 09:04 PM.

  3. #3

    Thread Starter
    PowerPoster ThEiMp's Avatar
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,899

    Re: How to find out the current Window Viewable Height and Width of the WebBrowser Wi

    Thanks for the help
    I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...

    |Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Event's Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Bar | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University |

    Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width