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

explorer.exe: Explorer.exe doesn't start?

I used the following code in Visual Basic to kill and restart explorer.exe.

TO KILL Explorer.exe (Works Fine):

Dim process As System.Diagnostics.Process = Nothing
Dim psi As New ProcessStartInfo
psi.UseShellExecute = True
psi.FileName = 'taskkill.exe'
psi.Arguments = '/F /IM explorer.exe'
process = System.Diagnostics.Process.Start(psi)


TO RESTART Explorer.exe again:

I tried-

Shell('explorer.exe')


and

System.Diagnostics.Proc

excel.exe: How find excel.exe path and notpad.exe path

In my application after export excel or csv file then show the file in excel or notepad.
In this case am use

Excel:

Dim xExcelFilePath As String = System.Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles) + 'Microsoft Office'
xDir = New DirectoryInfo(xExcelFilePath)
For Each xDirectory As DirectoryInfo In xDir.GetDirectories ' it use for find any version of excel is installed or not
If xDirectory.Name.Count < 6

javaw.exe: Both javaw.exe *32 and javaw.exe runs in process manager

I am developing a portal based on Liferay and I use Eclipse as IDE. I am running a 64 bit windows 7 with 8gb RAM ddr2 and AMD Athlon II X2 255 3.10 GHz. My computers freezes some time when I run service builder or when I want to open an xml file in eclipse. I checked the Process Manager from Task Manager and I have seen that I have two javaw processes running , jaxaw.exe*32 and javaw.exe.Is this normal. If this is a problem can you help me to fix it. Thanks

raserver.exe: Eclipse Java Profiler prematurely exiting without results

I've installed the Java Profiler for Eclipse Keplar as per these instructions (For windows). I then applied these instructions to start profiling my Java application.

I opened a command prompt and ran RAServer.exe which I left running. I then set the profiling configuration to that of a Java application, and selected my id with the 'main' function for the profiler to execute. (A JFrame).

However when I execute the profiling by going to Run > Profile in the Eclipse IDE, nothing h

acrobat.exe: Desktop: open file with parameters

I need to open a pdf file on a specific page. There is acrobat command line parameter that does it (it works also in Foxit Reader):

Acrobat.exe /A 'page=10' 'C:example.pdf'


However I don't see how to pass runtime parameters in Desktop id. I would prefer to use it because it lunches default pdf viewer (acrobat reader may not be installed or command line 'acrobat.exe' may not be found).

edit: I found library called 'JDIC' but that project seems to be closed. Any other simi

mysqld.exe: What is mysqld.exe? [closed]

As soon as my Windows starts, I see a mysqld.exe in my Task Manager which uses 500 MB of memory.

What exactly is this, mysqld.exe ?

( Edit: Is it required for using mysql server on my computer? I mean why does it start as soon as Windows starts? Does it start the mysql server? )

logonui.exe: Perl script to gather WMI data on screensaver usage

I am very new to scripting/programming and WMI but I have been tasked with gathering information from a list of systems to see if the screensavers are active or not. I need to be able to then store the information to a file and have a cron job run every 10 minutes or so and append the results to said file.

There is noting in there as of yet to write to the file as I am stumped on just getting it to return the correct information in the first place.

Any pointers you guys can provi

msiexec.exe: Cannot open Windows Installer (msiexec.exe)

I am having a problem where windows installer will not open. I am running Windows 7 Home Premium and when I try to open msiexec.exe, I get this message :

Windows Installer. V 5.0.7601.17514

msiexec /Option <Required Parameter> [Optional Parameter]

Install Options
</package | /i> <Product.msi>
Installs or configures a product
/a <Product.msi>
Administrative install - Installs a product on the network
/j<

mmc.exe: How to get the process running in the task manager using Install Shield

I am very new to Installsheild and it is programming. We have an application which run using MMC.exe. during uninstallation we need to check whther the app is running if yes then need to close the app. if user runs the app there is process mmc.exe running in the task manager.
how can i check whthere MMC.exe is running in the task manager

Thanks in Advance

javaw.exe: javaw.exe not displaying error on failure

OK, I thought this would be a common question, but I can't find much about it.

Suppose I run this command line in Windows:

javaw.exe -jar test.jar


and exception (ClassNotFoundException) occurs in main() method. Now, Oracle documentation states that
the javaw launcher will, however, display a dialog box with error information if a launch fails for some reason. However, there is nothing displayed in this case, javaw just silently dies, leaving you with no clue. To put i

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