473,473 Members | 1,857 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Read source code of Internet Explorer

Hi everyone,

is there a possibility to get the html source code of an Internet Explorer
window that I have only the name/title of? In my case it's not possible to
use the InternetExplorer.Application object unfortunately.

Thanks for any help!

Regards Sebastian
Nov 20 '05 #1
6 1198
.... sorry, didn't mean to hide my name...

Regards Sebastian

"Test" <te**@test.com> wrote in message news:cc**********@online.de...
Hi everyone,

is there a possibility to get the html source code of an Internet Explorer
window that I have only the name/title of? In my case it's not possible to
use the InternetExplorer.Application object unfortunately.

Thanks for any help!

Regards Sebastian

Nov 20 '05 #2
Hi Test,

Can you explain it a little bit more?

Cor

is there a possibility to get the html source code of an Internet Explorer
window that I have only the name/title of? In my case it's not possible to
use the InternetExplorer.Application object unfortunately.

Thanks for any help!

Regards Sebastian

Nov 20 '05 #3
One way is to use the Windows API, You would have to check the title of all
opened windows, once you have the handle of the window, then you should be
able to use the windows API to get at the document.

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Test" <te**@test.com> wrote in message news:cc**********@online.de...
Hi everyone,

is there a possibility to get the html source code of an Internet Explorer
window that I have only the name/title of? In my case it's not possible to
use the InternetExplorer.Application object unfortunately.

Thanks for any help!

Regards Sebastian

Nov 20 '05 #4
* "One Handed Man \( OHM - Terry Burns \)" <news.microsoft.com> scripsit:
One way is to use the Windows API, You would have to check the title of all
opened windows, once you have the handle of the window, then you should be
able to use the windows API to get at the document.


Sure? How do you get the source code of the document shown in MSIE when
you have the window handle only?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #5
Like I said, you need to use the API and put together a BHO component for
this purpose.

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2l************@uni-berlin.de...
* "One Handed Man \( OHM - Terry Burns \)" <news.microsoft.com> scripsit:
One way is to use the Windows API, You would have to check the title of all opened windows, once you have the handle of the window, then you should be able to use the windows API to get at the document.


Sure? How do you get the source code of the document shown in MSIE when
you have the window handle only?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #6
* "One Handed Man \( OHM - Terry Burns \)" <news.microsoft.com> scripsit:
Like I said, you need to use the API and put together a BHO component for
this purpose.


OK, that's what I wanted to hear ;-).

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #7

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

Similar topics

119
by: rhat | last post by:
I heard that beta 2 now makes ASP.NET xhtml compliant. Can anyone shed some light on what this will change and it will break stuff as converting HTML to XHTML pages DO break things. see,...
18
by: Aaron Gray | last post by:
How do you stop the HTML source for a page being viewed on Windows View>Source menu option ? Aaron
0
by: john bailo | last post by:
I am attempting to create a c# program to iterate through the messages in an Outlook/Exchange public folder and extract the headers. My apologies to the VB/VBA groups, but you seem to have more...
5
by: Hareth | last post by:
How can I read lines from an XML file. & add them to a counter. If possible, words between <page> <\page> is considered as +1 to my counter. if it isnt possible, I would atlest like to read...
3
by: VK | last post by:
Internet Explorer 7 beta 2 preview CNET Editor review: <http://reviews.cnet.com/Internet_Explorer_7_for_XP_SP2_Beta_2/4505-3514_7-31454661-2.html?tag=nl.e415> Summary (my personal review...
6
Cintury
by: Cintury | last post by:
Hi all, I've developed a mobile application for windows mobile 5.0 that has been in use for a while (1 year and a couple of months). It was developed in visual studios 2005 with a back-end sql...
1
by: Christian W Larsen | last post by:
I want to export a datagrid to Excel. Here is the code: Response.Clear(); Response.Buffer = true; Response.AddHeader("content-disposition",
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.