473,399 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Getting Information From the Browser...

Hello,

I have been searching for a few items with little success. I am hoping
somebody here can answer my questions...

1. Is it possible to get the title (<title> </title>) of a web page through
the axwebbrowser control? Essentially I would like my application to grab
the title and save it as a variable.

2. This may not be the correct group for this, but I amgoing to give it a
shot...Using a Web Form I have placed a button component on a page
(<asp:button>). I would like to use the button to direct the user to a new
page. Is it possible to control the actions of this button with Javascript
and, if not, can I do so using the CodeBehind? What methods/properties would
I access?

Any help with this would be greatly appreciated.

Regards,
Kris
Nov 20 '05 #1
2 1141
Cor
Hi Kris,

Have a look for mshtml. It is in the normal Net reference box. If you are
familiar with javascript it should be very familiar to you because it uses
the Document Object Model just as javascript.

Do not set a import but reference direct to it because it has so many
interfaces that your IDE slows down to nothing if you set an import.

Try and when you do not succeed using it, message back because I do not have
the code I use direct as sample but spread over a lot of different classes.
I hope this helps,

Cor
Nov 20 '05 #2
Cor
Hi Kris,

Have a look for mshtml. It is in the normal Net reference box. If you are
familiar with javascript it should be very familiar to you because it uses
the Document Object Model just as javascript.

Do not set a import but reference direct to it because it has so many
interfaces that your IDE slows down to nothing if you set an import.

Try and when you do not succeed using it, message back because I do not have
the code I use direct as sample but spread over a lot of different classes.
I hope this helps,

Cor
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Philip Ronan | last post by:
OK, here's my 2p worth: === Q. Why am I getting the error message 'Headers already sent'? A. PHP produces this error message when you try to set a header for a web page after you have already...
0
by: Jim | last post by:
I need some help getting started with a .NET web project for a commercial site. I am new to .NET and my understanding of some (but not all) of its concepts is a little sparse. I apologize for the...
0
by: Jim | last post by:
This si a repost, I apologize but perhaps my original inquiry got buried under all the usenet spam... I need some help getting started with a .NET web project for a commercial site. I am new to...
0
by: Grant Rettke | last post by:
Hi folks, ASP.NET 1.1 question for you folks. I'm working on a web aplication that stores some objects in the session. What is happening is that after I reach a certain page, the session is...
3
by: Hitesh | last post by:
Hi, I am getting the response from another Website by using the HttpHandler in my current site. I am getting the page but all the images on that page are not appearing only placeholder are...
25
by: altemurbugra | last post by:
Hi is it possible to make search on for example on google without api with a list of words 1- there is word list 2- the script will take the words from the list by turn 3-it iwll make the search...
2
by: dmagliola | last post by:
Hello all, I'm experiencing a problem with ASP.Net for which I can't find a reasonable explanation, or any information. I'm currently developing an application that, through AJAX, asks the...
5
by: jediknight | last post by:
Is it possible to programmatically stop multiple browsers from getting the same session state? The problem I have is that whenever I open a new browse using File- I would like to stop this...
9
by: Debbie | last post by:
I wonder if anyone can help me out, or point me in the right direction, in solving my current problem: I have started seeing an error on one of my ASP pages. Id displays totally blank except...
4
by: JCOSTA | last post by:
Hi! I want to get information from a sports web site (ex:https://www.bwin.com/pt/futebol), and I already tried htmllib and some other stuff.... the problem is that I can get the page's source code...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.