Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 895273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T14:31:57+00:00 2026-05-15T14:31:57+00:00

My application tried to scrape IE8, here we somehow obtain HANDLE to Internet Explorer

  • 0

My application tried to scrape IE8, here we somehow obtain HANDLE to Internet Explorer Window/UI. Now I want to get the job handle for IE8.
One Idea is to –
Determine first the process id using the IE Window HANDLE using GetWindowThreadProcessId() but after this I am stuck.

There is new implementation in IE8, here every tab opened is a process within a job. Thus IE8 we see is managed as a job.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T14:31:57+00:00Added an answer on May 15, 2026 at 2:31 pm

    I couldn’t find any documented way to get the job to which a process is bound; also, I couldn’t find any documented way to enumerate all the jobs in the system, except the WMI way that however works only from XP onwards (which I don’t think it’s a problem since you’re targeting IE8) and only with named jobs (which may actually be a problem if IE8 uses anonymous job objects).

    If IE’s jobs are in this list, then the road is downhill: just use OpenJobObject on each job name you can get (or, if you manage to narrow down your work with some heuristic on the job names, even better) and use the IsProcessInJob to check if your process handle (which you get with OpenProcess + GetWindowThreadProcessId) belongs to the job; once you get a match, you’re set. Remember to close all those handles! 🙂

    In the unfortunate event that the job objects used by IE8 are unnamed, then the whole thing becomes more difficult. You probably need to resort to almost-undocumented (by Microsoft, but widely documented on the net) handle-enumeration techniques to enumerate all the handles relative to your target process. You can then filter out just the job objects handles, and use the technique described above to get the right one.


    By the way, why do you need to access the job objects used by IE8?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried to run VBA application on someone else's computer, but I get an
I tried to get my application run at a specified time but I can't
When i write the following code, I get the Application tried to push a
I want to set image for DataGridViewButtonColumn in c#.net application.I tried this by cell
I've an WPF application where tried to implement MVVM pattern and Prism 2. I
I created MVC ASP.Net Web application and tried insert Thai language data to SQL
I have an AppWidgetProvider under package com.developer.application I tried moving this AppWidgetProvider under package
I've tried WebSphinx application. I realize if I put wikipedia.org as the starting URL,
After running my Cake application locally i tried to upload it to my remote
I tried decompiling a Java application to which I do not have the source

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.