PRocesses: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9
Dlls: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9
Popular: svchost.exe | csrss.exe | rthdcpl.exe | spoolsv.exe | mrt.exe | lsass.exe | Home | Manufacturers | Top 1000

iexplore.exe

How to capture keystrokes of iexplore.exe only?

My goal is to capture keystrokes of the user when he is interacting with Internet Explorer (iexplore.exe).

This is my DLL code for a DLL called hook.dll.

#include <iostream>
#include <windows.h>

extern 'C' __declspec(dllexport)
LRESULT keyboardHook(int nCode, WPARAM wParam, LPARAM lParam)
{
if (nCode >= 0) {
std::cout << 'nCode: ' << nCode << '; wParam: ' << wParam
<<' (' << char(wParam) << '); scan code: '
<< ((lParam & 0xFF0000) >> 16)
<< '; transition state: ' << ((lParam & 0x80000000) >> 31)
<< std::endl;
}
return CallNextHookEx(NULL, nCode, wParam, lParam);
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
std::cout << 'hinstDLL: ' << hinstDLL
<< '; fdwReason: ' << fdwReason
<< '; lpvReserved: ' << lpvReserved << std::endl;

return TRUE;
}


Here is the main program code for main.exe:

#include <iostream>
#include <windows.h>

int main(int argc, char **argv)
{
HMODULE dll = LoadLibrary('hook.dll');
if (dll == NULL) {
std::cerr << 'LoadLibrary error ' << GetLastError() << std::endl;
return 1;
}

HOOKPROC callback = (HOOKPROC) GetProcAddress(dll, 'keyboardHook');
if (callback == NULL) {
std::cerr << 'GetProcAddress error ' << GetLastError() << std::endl;
return 1;
}

HHOOK hook = SetWindowsHookEx(WH_KEYBOARD, callback, dll, NULL);
if (hook == NULL) {
std::cerr << 'SetWindowsHookEx error ' << GetLastError() << std::endl;
return 1;
}

MSG messages;
while (GetMessage (&messages, NULL, 0, 0))
{
TranslateMessage(&messages);
DispatchMessage(&messages);
}
UnhookWindowsHookEx(hook);
}


I compile this project with these commands:

vcvars32.bat
cl /LD hook.cc /link user32.lib
cl main.cc /link user32.lib


When I execute the program, and press the keys A, B and C, I see the following output.

C:>main
hinstDLL: 10000000; fdwReason: 1; lpvReserved: 00000000
nCode: 0; wParam: 65 (A); scan code: 30; transition state: 0
nCode: 0; wParam: 65 (A); scan code: 30; transition state: 1
nCode: 0; wParam: 66 (B); scan code: 48; transition state: 0
nCode: 0; wParam: 66 (B); scan code: 48; transition state: 1
nCode: 0; wParam: 67 (C); scan code: 46; transition state: 0
nCode: 0; wParam: 67 (C); scan code: 46; transition state: 1


This is all good so far, but this program captures keystrokes made anywhere on the desktop. But I want to capture only those keystrokes that are made on Internet Explorer. I believe I need to modify the SetWindowsHookEx(WH_KEYBOARD, callback, dll, NULL); call in main program and pass the thread ID of the Internet Explorer as the fourth argument to this call. Could you please help me to solve this problem?

View Complete Forum Thread with Replies

Related posts for iexplore.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

How can I find programatically where iexplore.exe is?
Strange ProcessorAffinity issue with IEXPLORE.exe
iexplore.exe process opens but I can't see it
Batch file to terminate all instances of IExplore.exe
Debugging SHDocVw.InternetExplorer.Quit not closing iexplore.exe process
Process.Start(“IExplore.exe”); <— Is this reliable?
VS2010 and IE10 Attaching the Script debugger to process iexplore.exe failed
How to capture keystrokes of iexplore.exe only?
Process.Start(“IEXPLORE.EXE”) immediately fires the Exited event after launch.. why?
Unhandled exception at 0x75619617 (KernelBase.dll) in iexplore.exe
Process.Kill does not seem to work with iexplore.exe
invoke iexplore.exe in already launched instance using ShellExecuteEx
Run iexplore.exe invisibly
Attaching the Script debugger to process '[XXXX] IEXPLORE.EXE' on machine 'NAME' failed
Can I pass the -f parameter to iexplore.exe when using Watir?

iexplore.exe: How can I find programatically where iexplore.exe is?

I need to run myApp.exe that in turn will launch iexplore.exe.
What is the most robust, generic way (OS bit version agnostic) to do so?

Can you point me to the right registry key /env var/other mean to do so?

Thanks,
Guy

iexplore.exe: Strange ProcessorAffinity issue with IEXPLORE.exe

I need to launch IE and set the affinity to a particular single CPU.
When running the following c# code, as expected notepad.exe is started and has it's affinity set to just cpu2, strangely iexplore.exe is started with its affinity set to just cpu0. No matter what I set ProcessorAffinity to iexplore.exe always goes to cpu0.

I have tested this on 4 core xp 32 bit and 4 core 2008 64 bit, both IE8.

using System;
using System.Diagnostics;
public id Launch
{

publ

iexplore.exe: iexplore.exe process opens but I can't see it

I have a strange issue with opening IE (8), on Server 2008 R2, I execute the process (try to open a web-site in a browser) and I can see it in the Task Manager, but it's not visible on the Taskbar or anywhere on the desktop.
It is especially annoying since I use this server for developing a website.

It is the same if I open several IE processes, they are running (as seen in the taskbar) but are not visible.

After Restart of the server is usually works for a while till it starts

iexplore.exe: Batch file to terminate all instances of IExplore.exe

Sometimes IE freezes up and I have to open the Task Manager, right click the process and choose End Process to get it to really close.

If I have a lot open, I have to find the right one to end. I want a batch file command I can run to just terminate them all.

I tried using taskkill as described here, but that does not terminate a frozen IE like the 'End Process' button does.

iexplore.exe: Debugging SHDocVw.InternetExplorer.Quit not closing iexplore.exe process

I think there's no definite answer so how would you approach debugging this problem?:

My main app (a MicroStation plugin) launces IE using the SHDocVw.InternetExplorer COM wrapper, interacts with it, hides it when it is not used (e.g. intercepts when the user closes the window and sets InternetExplorer.Visible to false).

When the main app is closed the plugin closes IE by calling InternetExplorer.Quit but the iexplore process is left running (the IE is hidden at the moment the ma

iexplore.exe: Process.Start(“IExplore.exe”); <— Is this reliable?

Process.Start('IExplore.exe');

Does this always work, on every machine ? If not, how to do it properly ?

... EDIT: .................................

The problem with Process.Start('http://www.example.com/'); is that we have to target a local html file, with some querystring specifying which page to load in the html frameset.
So our URL looks like the following:

G:PathToHelpFolderindex.html#search?page=1.html


If you pass this path to Process.Start, an er

iexplore.exe: VS2010 and IE10 Attaching the Script debugger to process iexplore.exe failed

So I am using Win7 x64 with VS2010 and have installed the IE10 Win7 Preview and ReSharper 6.1.

When I attempt to Start Debugging, I receive the following:


'Attaching the Script debugger to process '[1111] iexplore.exe' on
machine 'MINE' failed. A debugger is already attached.'


I can click OK and look at attached debug sessions - [1111] is grayed out and there is another instance of iexplore.exe with my solution title. I can attach manually and it works fin

iexplore.exe: How to capture keystrokes of iexplore.exe only?

My goal is to capture keystrokes of the user when he is interacting with Internet Explorer (iexplore.exe).

This is my DLL code for a DLL called hook.dll.

#include <iostream>
#include <windows.h>

extern 'C' __declspec(dllexport)
LRESULT keyboardHook(int nCode, WPARAM wParam, LPARAM lParam)
{
if (nCode >= 0) {
std::cout << 'nCode: ' << nCode << '; wParam: ' << wParam
<<' (' << ch

iexplore.exe: Process.Start(“IEXPLORE.EXE”) immediately fires the Exited event after launch.. why?

i have a strange problem with IE8 installed in xp. i was trying to launch IE using an System.Diagnostics.Process.Start method in c#. And i have a requirement to trap the exited event of the IE and do some operation. But i ended up in a rather strange problem where the IE immediately fires the exited event after launch.

this is the sample code

Process objProcess = Process.Start('IEXPLORE.EXE', 'http://google.com');

if (objProcess != null)
{
objProc

iexplore.exe: Unhandled exception at 0x75619617 (KernelBase.dll) in iexplore.exe

I'm making a firebreath based plugin which adds two integers.
I'm debugging the plugin by attaching the source to the browser. I'm getting the above exception at this step of my PLUGINAPI.cpp
I have created and built the dll of the wrapper and the c# id libraries. it's working..added the project references of these to my firebreath api project.
In PLUGINAPI project>>

int PLUGINAPI::PerformAddition(int a, int b)
{
IWrapIt *wrapIt=IWrapIt::CreateInstance();
HWND ha

iexplore.exe: Process.Kill does not seem to work with iexplore.exe

I am using watin for browser automation, and many browser windows get left open, and at the end I am using this to attempt to close them all:

Process[] ieProcesses = Process.GetProcessesByName('iexplore');

foreach (Process ie in ieProcesses)
{
ie.CloseMainWindow();
ie.Close();
ie.Dispose();
}


For some reason close, closemainwindow, and dispose, all will not close my

iexplore.exe: invoke iexplore.exe in already launched instance using ShellExecuteEx

I used ShellExecuteEx to call iexplore.exe, Whenever I start the application a new instance of internet explorer is created irrespective of, internet explorer already opened or not.

I want to change this, if already an instance of the Internet explorer is there, I need to open a new tab in that instance with the address I am passing to the ShExecInfo.lpParameters, thus without creating a new window. Is there a way to do this? Please advice..

UPADATE:
In the below answer I have a

iexplore.exe: Run iexplore.exe invisibly

I am trying to run iexplore.exe invisibly. This works but it shows the internet explorer window.

@Start iexplore www.google.com


Than I tried it with /d

@Start /d iexplore www.google.com


But I'm getting 'The current directory is invalid' error. What is the correct way to run iexplore via bat file invisibly ?

iexplore.exe: Attaching the Script debugger to process '[XXXX] IEXPLORE.EXE' on machine 'NAME' failed

Few days ago I started getting the following error when I try to run/debug my web application using F5 in Visual Studio 2008:

Attaching the Script debugger to process '[XXXX] IEXPLORE.EXE' on machine 'NAME' failed. The process does not have sufficient privileges to be debugged.

I am using Visual Studio 2008, IE8 and Visual Studio Development Server(as my web server)

I did look around and couldn't find much on the web!!

iexplore.exe: Can I pass the -f parameter to iexplore.exe when using Watir?

I need to run several instances of a Ruby script that's using the Watir gem, and they all need to be able to run in IE fullscreen mode.

CLARIFICATION: They need to be able to open IE in a mode that allows multiple instances of IE to operate in full screen mode, not necessarily trigger the fullscreen. Opening up IE normally allows only a single instance to open fullscreen (not maximized).

I can make this happen manually, by specifying the '-f' parameter on iexplore.exe. Is there

java.exe: Is the java.exe program the actual VM? [duplicate]

This question already has an answer here:


Totally Confused with java.exe

3 answers




The JDK comes with the java.exe (for windows) program. You can use it to start programs from the command line.

Wikipedia says it's the 'id loader', and 'an interpreter for id files'.

Is this the actual full blown JVM? Is it a 'smaller, lightweight' JVM? Is it something

wrapper.exe: System.BadImageFormatException when installing service

I am getting below exception when I try to run installer to set up service:

# ./InstallUtil ../../../../Applications/GasPosApp/bin/Wrapper.exe -s ../../../
../Applications/GasPosApp/properties/DispenserViewerApplication.wrapper.conf
Microsoft (R) .NET Framework Installation utility Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.


Exception occurred while initializing the installation:

System.BadImageFormatException: Could not load f

ps2.exe: Timed autosave with Batch

I'm currently emulating ps2 games on my pc and wanted to have an insurance for loss
of Savedata.
So in pcsx2 you Save by pressing F1 (and F2 switches to the next slot)

This snippet is a part of a bigger file for ps2 purposes (I can post it if necessary)
but what it should basically achieve is to check if pcsx2.exe is running
every 0.1 seconds and save the game every 3 minutes.
When I run this code the Batch script quits immediately without the possibility to
eveen see

rundll32.exe: Inject text in a rundll32.exe window

I must enter a username/password within a rundll32.exe process window. I've tought of the following:


Get Login window handle from the rundll32.exe process
Focus the window
Inject the text in 2 textbox and click the ok button


Is it possible to do that in .NET or I must resort to lower level win32 api? Anywone as done that before and could point me in the right direction?

dwm.exe: Performance issue when resizing Win32 containing WPF

I am in the process of migrating an existing legacy project. For now we want to use C++/CLI as a bridge between business logic (native C++) and interface (WPF). I followed this MSDN article on how to host WPF content in a Win32 window as a starting point. However, I cannot wrap my head around this problem: Whenever I resize the host window...


There are serious delays and the window is repainting slowly.
It causes the Desktop Window Manager (dwm.exe) to increase dramatically in mem

cli.exe: Wamp PHP CLI

I'm running wampserver and can't seem to use php files in the CLI. Supposedly there are two modes of running php, CGI and CLI. I can't figure out how to enable CLI since I don't see php-cli.exe in /wamp/bin/php/php5.2.6. When I try and execute php scripts they wont run. Does anyone know how to get the CLI running php scripts using wampserver 2?

Im basically trying to call a bake.php script to open a cake console.

msnmsgr.exe: The meaning of a few things in a batch command

I'm looking for good tutorials to learn programming batch and it looks simple enough but I cant seem to find information on what /v, /t , /d represent...

I assume:

reg add 'HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerDisallowRun' /v '1' /t REG_SZ /d 'msnmsgr.exe' /f

/v = value
/t = target
/d = ?
/f = ?


Am I correct on v and t? and what about d & f

winword.exe: WinWord.exe won't quit after calling Word.Documents.Add - Word .NET Interop

I'm running into the idic scenario where, when creating Word COM objects in .NET (via the Microsoft.Office.Interop.Word assembly), the WinWord process won't exit even though I'm properly closing and releasing the objects.

I've narrowed it down to the use of the Word.Documents.Add() method. I can work with Word in other ways without a problem (opening documents, modifying contents, etc) and WinWord.exe quits when I tell it to. It's once I use the Add() method (and only when adding a temp

drwtsn32.exe: Drtsn32.exe only catching exception once per reboot

I'm trying to setup Drwtsn32.exe as the crash handler on a windows xp embedded system. I have run drwtsn32.exe -i from the prompt to install it as the default handler. Then I added a couple different fragments that would cause exceptions into our application as a test:

int y = 0;
int j = 0;
j /= y;
int* p = 0;
(*p) = 0;


When I run our application for the first time, I get a Drwtsn32.exe popup correctly, the application closes, and drwtsn32.log is writt

wrapper.exe: Execute batch file(in turn executes exe) from powershell

I am trying to execute a install activeMq service from powershell, for which I am trying to call a batch file (which inturn calls the wrapper.exe) using:

& 'C:apache-activemq-5.6.0inwin64InstallService.bat'


I am getting ''wrapper.exe'' is not recognized as an internal or external command,or batch file'

But when I execute InstallService.bat from command prompt I am able to run the service

Any help would be appreciated

Thanks,
Anandh

Disclaimer
This web site and all information written here is for information purposes only, WITHOUT ANY VARANTY. YOU ARE USING THIS PAGES ON YOU OWN RISK. You should always verify the accuracy of information provided on this page. We pay a big attention to provide you with the correct information. However, many spyware and malware programs use filenames of usual, non-malware processes and DLLs. If we have included information about iexplore.exe that is inaccurate, we would appreciate your help by getting us know about your user review. Also, web links to software and DLL vendors are provided just for your conform, and we cannot guarantee its accuracy nor relevance with DLL or process listed on this page. We are not affiliated with this pages. We are not responsible for misprints on this site or changes occured since this page was published. The product, software and operating system names mentioned on this web site, can be copyrighted and registered trademarks of their owners.

iexplore.exe