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

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

ps2.exe: MySQL query SELECT GREATEST int row VALUE beetween limits

I need to get the count of records in table where the value of the fileds: (ps1,ps2,ps3,ps4,ps5,ps6,ps7,ps8,ps9,ps10) between min and max limits is greatest. And to compare this value to an other filed value d_max.

ex:

SELECT count(*) FROM table WHERE d_max <
{GREATEST one of (ps1,ps2,ps3,ps4,ps5,ps6,ps7,ps8,ps9,ps10) BEETWEEN 10 AND 20}


Please help.

snmp.exe: Debugging my windows DLL that might be invoked from a Windows Service

I have my SNMP Extension Agent DLL that is called by the Windows SNMP Service (snmp.exe) everytime i do an snmpwalk (another console application) .I want to step into my DLL code that is called from the above Windows
Service. How do i go about doing that?

Thanks
Som

winamp.exe: how to get the window title of a process using vb.net

I am looking to go from the process name to the windows title.

e.g

'winamp.exe' -> '1. Britney Spears - Hit me baby one more time'

Thanks

Solution:

Dim p As Process

For Each p In Process.GetProcessesByName('winamp')

MsgBox(p.MainWindowTitle.ToString)

Next

apache.exe: PHP_iisfunc.dll is crashing wil i am trying access the detail for upload

Faulting application Apache.exe, version 2.0.63.200, faulting module php_iisfunc.dll, version
5.2.7.7, fault address 0x00001085.

Any one having any idea about above error it thrown in Event view and crashes the apache server

net.exe: No output for System.Diagnostics.ProcessStartInfo and net.exe

I do the following in my app :

if (!new DriveInfo(elt.driveletter).IsReady)
{
var messages = new List<string>();
var p = new System.Diagnostics.Process()
{
StartInfo = new System.Diagnostics.ProcessStartInfo('net.exe', String.Format(
'use {0}: {1}'
, elt.driveletter
, elt.parameters
))
{
RedirectStandardOutput = true
, RedirectStandardError = true

regedit.exe: Why I can't see 'wow6432node' when using process.start(“regedit.exe”)?

I got some problem..in C#

When I execute regedit.exe through my code, in x64 OS System it didn't show

HKLMSOFTWARE'wow6432node'


but when i execute regedit.exe through Window Key + R it show me wow6432node

how can i show up wow6432node? I don't know how to show up...

here is my code

private void RegeditCall_Click(object sender, EventArgs e)
{
Process.Start('C:\Windows\regedit.exe');
}


or

outlook.exe: Outlook.Exe Keeping Handle After Attachment Save VB

I have some VBA that i use to download all the attachments from an email and save them to a directory.

This is causing me some problems because the handle from Outlook is remaining on the folder and as a result it fails to delete correctly.

I thought my code is pretty fool proof and shouldn't be keeping a hold on the folder after the completion of the script.

Can someone please point out to me what I have done wrong :/

Sub SaveCustDetails(myItem As Outlook.MailItem)<

cmd32.exe: write to stdout with win32 gui app

If a win32 GUI app is run from the command line
e.g gfxexe.exe

first what is the simplest way to detect that it has been run from a command line
(cmd32.exe and possible other 3rd part command line apps).

second, and most importantly, if the app has been launched from the command line, how
can i print something to it.. e.g , this app can't be run from a command line.

aim.exe: How do you block selected applications from accessing the internet (C++, Win32)

I want to have an application or service that is running that, on some schedule, can disable access to the internet for all applications except for specific ones.

I'm trying to create a filter that can be turned on or off under programmatic control. Not just IP addresses and ports, but I want to be able to block specific applications as well, much like Zone Alarm and other software firewalls let you block.

For example, iexplore.exe, skype.exe, firefox.exe, aim.exe. But still need

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