Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 8th, 2008, 12:33 AM
Authorized User
 
Join Date: Feb 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default Browser Control In C#

Hi All,

I am working on the project using c# 2.0. I am using the browser control in this project.I need to get the contents of status bar of the browser and save into string variable. Please help if you can.

Thanks in advance.


A.Asif
__________________
A.Asif
 
Old January 8th, 2008, 07:02 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

If it isn't available as a property of the web browser control then I doubt you could easily get it.

In theory you could go into Win32-land, using p/invoke, try to work out the handle of the status bar control and ask for its text, but who knows how the web browser control is laid out. I wouldn't know how to do this, and it likely wouldn't be easy.

/- Sam Judson : Wrox Technical Editor -/
 
Old January 8th, 2008, 07:12 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Also, a quick test I've done in Visual Studio 2005 - the web browser control doesn't appear to HAVE a status bar.

/- Sam Judson : Wrox Technical Editor -/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Browser Control AccessAasif@aol.com C# 2005 1 January 9th, 2008 06:26 AM
Browser Control using C# 2.0 AccessAasif@aol.com C# 2005 0 November 15th, 2007 12:04 AM
Browser control in C# 2.0 AccessAasif@aol.com C# 2005 1 November 10th, 2007 06:56 AM
Using web browser control in C#2.0 AccessAasif@aol.com C# 5 November 1st, 2007 12:01 PM
Web Browser Activex Control gdelucchi Access 0 February 20th, 2006 02:18 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.