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

searchfilterhost.exe: IFilter is not run by Windows indexing service

OS: Win 8.1, x86

I am trying to develop an IFilter for a proprietary file format. The IPersistStream interface is implemented in the filter (although there is no tool to test this interface...). The DLL goes through all the tests in the IFilter test suite (ifilttst, filtdump, filtreg; ifilttst emitted property/values are correct), it is installed in c:windowssystem32 but it is not properly run by SearchFilterHost.exe used by Windows indexing services. Nothing is indexed.

I used Pr

winhlp32.exe: Programatically disable any program/process using c#

I'm working on a console application (C# 4.0 on windows 7) that lock some programs, I'm trying to enable/disable programs like 'desktop remote manager' and 'windows help and support', I search for examples using registry modifications, but no issues.

Anyone knows how to do ?

After many search I found a script to disable help :

takeown /f '%WINDIR%HelpPane.exe'
icacls '%WINDIR%HelpPane.exe' /grant Administrators:F
ren '%WINDIR%HelpPane.exe' 'HelpPane.exe.bak'

t

acrord32.exe: Windows .bat to print 1000+ PDF's only executes first line?

I've created a .bat file similar to this:

AcroRd32.exe /n /h /t '\filepathSomePDF1.pdf'
AcroRd32.exe /n /h /t '\filepathSomePDF2.pdf'
AcroRd32.exe /n /h /t '\filepathSomePDF3.pdf'
...
...
AcroRd32.exe /n /h /t '\filepathSomePDF3000.pdf'


The goal is to print N PDF's while preserving the order set forth in the .bat. The problem I keep running into is using this method (which is the only method capable of printing thousand's of PDF's whilst preserving order) only t

reader: Blackberry smartcard reader example

I am writing an app for BlackBerry that utilizes a BlackBerry smartcard reader. There is not much documentation on the subject, so I'd really like if someone could give me starting examples.

Basically, there is one RSA private key on the card plus a certificate (for paired public key). I would like to be able to encrypt/decrypt data and also sign it as well. The final goal would be to establish an mutual-authenticated SSL connection using client certificate contained on the smartcard.

save.exe: About exec() function and time

I'll show some code, first:

echo exec('compile\save.exe Untitled.c tmpUntitled.c');

I have a program, named save.exe and i want to know if it already stopped?
If stopped, ok... Do something...

If not, may be an error, or a loop...
Now: I want to build same way to control the time that program use, and put a limit (time limit exceed, something like this...)

Any one has a sugestion ?


Edit[1]:save.exe is a program wrote on C language, and use two parame

monitor.exe: How do I monitor the status of an C# windows application?

Lets say I have a Windows application named app.exe, written in C# (Windows Forms), running unattended under any Windows OS (XP to 8).

I would like to monitor the status of the app:


Is the app still running or has it crashed
Has the app run into an internal error state


My idea is to set up a scheduled task in Windows (using the Task Scheduler) to run a Windows Console application, monitor.exe, every 15 minutes.
The monitor app will send an email with the status

drwtsn32.exe: How to debug a disappearing app

On a Windows 2003 server I have a pure .NET 3.5 C# app (no unmanaged code). It connects to various other remote systems via sockets and acts like a data hub. It runs for 10-15 hours fine with no problem but from time to time it just disappears. If I watch the app using task manager the memory usage remains constant.

In the Main() function I wrap the invocation of the rest of the app in a try..catch block which it just blows completely past - the catch block which logs the exception to a f

smss.exe: how to compile to reduce memory /STACK doesn't seem to change anything?

I create a lot of simple programs, which don't need any memory, but they always show around 1MB-1.6MB memory in the private memory column in task manager.

I read that the default stack size is 1MB for linking with link.exe, i tried playing with /STACK like this :

/STACK:65536 (64kb)
/STACK:16777216 (16mb)


when i run the program, the memory hasn't changed at all..

Even a simple program like this, using 1.6MB compiled as 64bit with link.exe and no libs (simple.

totalcmd.exe: c# open folder in C:Windowssystem32 via total-commander

I have a little problem with opening windows system folder using total-commander
When i run command manually in cmd itīs ok, but when it runs as ProcessStartInfo not.
This problem happens on Windows XP, Windows 7 argument (path) is a little bit different but working.

ProcessStartInfo startInfo = new ProcessStartInfo(); //New Proccess
startInfo.Arguments = '/L=' + GetArgument(); //Return C:WINDOWSsystem32configsystemprofileLocal SettingsApplication ataMyApp

logonui.exe: Changing other user's registry through batch files

Is it possible to change other user HKCU registry from other admin account?

My workflow is:


Install software on admin account.
Installation creates user 'CustomUser'
I need to set some registry keys for this user...


I am able to create registry keys in ProfileList through command:

%windir%System32 unas.exe /profile /user:domain\%targetUser% logonui.exe


But this doesn't creates target key in HKEY_USERS

I also tried impersonation through

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