473,698 Members | 2,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

App needs to know when IE receives a mouse click.

If IE is open I'd like my app to receive an event or otherwise know when IE
receives a mouse click.

Is that fairly easy to do?
Thanks in advance
Jul 26 '08 #1
8 1312
there is a sampe on msdn called IEautomation check it

"AAaron123" <aa*******@road runner.comwrote in message
news:eu******** ******@TK2MSFTN GP05.phx.gbl...
If IE is open I'd like my app to receive an event or otherwise know when
IE receives a mouse click.

Is that fairly easy to do?
Thanks in advance
Jul 28 '08 #2
I think I found your IEautomation reference:

http://forums.microsoft.com/MSDN/Sho...49302&SiteID=1

Is this the one you had in mind?

-----------------

I created a VS project an inserted the code and added the COM reference to
Microsoft.Inter net.Controls

But I get the error in the code from the Internet:
Error 2 The type or namespace name 'InternetExplor er' could not be found
(are you missing a using directive or an assembly reference?)

I suspect it wants a "using" but I don't know what to put on the "using".
The Help doesn't seen to say.

Do you know how to fix this?

---------
I noticed there are two controls mentioned in the Internet. We are not using
the WebControl - right?

---------
thanks

"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:e8******** ******@TK2MSFTN GP03.phx.gbl...
there is a sampe on msdn called IEautomation check it

"AAaron123" <aa*******@road runner.comwrote in message
news:eu******** ******@TK2MSFTN GP05.phx.gbl...
>If IE is open I'd like my app to receive an event or otherwise know when
IE receives a mouse click.

Is that fairly easy to do?
Thanks in advance

Jul 29 '08 #3
no it is a sample console program that give information like spy the ie
window

"AAaron123" <aa*******@road runner.comwrote in message
news:uT******** ******@TK2MSFTN GP03.phx.gbl...
I think I found your IEautomation reference:

http://forums.microsoft.com/MSDN/Sho...49302&SiteID=1

Is this the one you had in mind?

-----------------

I created a VS project an inserted the code and added the COM reference to
Microsoft.Inter net.Controls

But I get the error in the code from the Internet:
Error 2 The type or namespace name 'InternetExplor er' could not be found
(are you missing a using directive or an assembly reference?)

I suspect it wants a "using" but I don't know what to put on the "using".
The Help doesn't seen to say.

Do you know how to fix this?

---------
I noticed there are two controls mentioned in the Internet. We are not
using the WebControl - right?

---------
thanks

"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:e8******** ******@TK2MSFTN GP03.phx.gbl...
>there is a sampe on msdn called IEautomation check it

"AAaron123" <aa*******@road runner.comwrote in message
news:eu******* *******@TK2MSFT NGP05.phx.gbl.. .
>>If IE is open I'd like my app to receive an event or otherwise know when
IE receives a mouse click.

Is that fairly easy to do?
Thanks in advance

Jul 30 '08 #4
I can't find it but I've decided I'll trigger on a timer tick rather than a
mouse click.

Thanks a lot

"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:%2******** *******@TK2MSFT NGP02.phx.gbl.. .
no it is a sample console program that give information like spy the ie
window

"AAaron123" <aa*******@road runner.comwrote in message
news:uT******** ******@TK2MSFTN GP03.phx.gbl...
>I think I found your IEautomation reference:

http://forums.microsoft.com/MSDN/Sho...49302&SiteID=1

Is this the one you had in mind?

-----------------

I created a VS project an inserted the code and added the COM reference
to Microsoft.Inter net.Controls

But I get the error in the code from the Internet:
Error 2 The type or namespace name 'InternetExplor er' could not be found
(are you missing a using directive or an assembly reference?)

I suspect it wants a "using" but I don't know what to put on the "using".
The Help doesn't seen to say.

Do you know how to fix this?

---------
I noticed there are two controls mentioned in the Internet. We are not
using the WebControl - right?

---------
thanks

"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:e8******* *******@TK2MSFT NGP03.phx.gbl.. .
>>there is a sampe on msdn called IEautomation check it

"AAaron123" <aa*******@road runner.comwrote in message
news:eu****** ********@TK2MSF TNGP05.phx.gbl. ..
If IE is open I'd like my app to receive an event or otherwise know
when IE receives a mouse click.

Is that fairly easy to do?
Thanks in advance


Jul 30 '08 #5
I was searching for IEautomation and got many hits all N.G.

This looks like a nice example because it's brief.

Now I need to study it.

Thanks for the extra effort


"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:uh******** ******@TK2MSFTN GP02.phx.gbl...
here it is
it is microsoft copyright and i 'm not sure i can redistribute it but as i
download it from microsoft.com !

"AAaron123" <aa*******@road runner.comwrote in message
news:O$******** ******@TK2MSFTN GP03.phx.gbl...
>I can't find it but I've decided I'll trigger on a timer tick rather than
a mouse click.

Thanks a lot

"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:%2******* ********@TK2MSF TNGP02.phx.gbl. ..
>>no it is a sample console program that give information like spy the ie
window

"AAaron123" <aa*******@road runner.comwrote in message
news:uT****** ********@TK2MSF TNGP03.phx.gbl. ..
I think I found your IEautomation reference:

http://forums.microsoft.com/MSDN/Sho...49302&SiteID=1

Is this the one you had in mind?

-----------------

I created a VS project an inserted the code and added the COM reference
to Microsoft.Inter net.Controls

But I get the error in the code from the Internet:
Error 2 The type or namespace name 'InternetExplor er' could not be
found
(are you missing a using directive or an assembly reference?)

I suspect it wants a "using" but I don't know what to put on the
"using". The Help doesn't seen to say.

Do you know how to fix this?

---------
I noticed there are two controls mentioned in the Internet. We are not
using the WebControl - right?

---------
thanks

"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:e8***** *********@TK2MS FTNGP03.phx.gbl ...
there is a sampe on msdn called IEautomation check it
>
"AAaron12 3" <aa*******@road runner.comwrote in message
news:eu**** **********@TK2M SFTNGP05.phx.gb l...
>If IE is open I'd like my app to receive an event or otherwise know
>when IE receives a mouse click.
>>
>Is that fairly easy to do?
>>
>>
>Thanks in advance
>>



Jul 31 '08 #6
first take a look at the readme file 'cause it 's not working
you need to set the correct reference !

"AAaron123" <aa*******@road runner.comwrote in message
news:un******** ******@TK2MSFTN GP04.phx.gbl...
I was searching for IEautomation and got many hits all N.G.

This looks like a nice example because it's brief.

Now I need to study it.

Thanks for the extra effort


"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:uh******** ******@TK2MSFTN GP02.phx.gbl...
>here it is
it is microsoft copyright and i 'm not sure i can redistribute it but as
i
download it from microsoft.com !

"AAaron123" <aa*******@road runner.comwrote in message
news:O$******* *******@TK2MSFT NGP03.phx.gbl.. .
>>I can't find it but I've decided I'll trigger on a timer tick rather
than
a mouse click.

Thanks a lot

"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:%2****** *********@TK2MS FTNGP02.phx.gbl ...
no it is a sample console program that give information like spy the
ie
window

"AAaron123 " <aa*******@road runner.comwrote in message
news:uT***** *********@TK2MS FTNGP03.phx.gbl ...
I think I found your IEautomation reference:
>
http://forums.microsoft.com/MSDN/Sho...49302&SiteID=1
>
Is this the one you had in mind?
>
-----------------
>
I created a VS project an inserted the code and added the COM
reference
to Microsoft.Inter net.Controls
>
But I get the error in the code from the Internet:
Error 2 The type or namespace name 'InternetExplor er' could not be
found
(are you missing a using directive or an assembly reference?)
>
I suspect it wants a "using" but I don't know what to put on the
"using". The Help doesn't seen to say.
>
Do you know how to fix this?
>
---------
I noticed there are two controls mentioned in the Internet. We are not
using the WebControl - right?
>
---------
thanks
>
>
>
"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:e8**** **********@TK2M SFTNGP03.phx.gb l...
>there is a sampe on msdn called IEautomation check it
>>
>"AAaron123 " <aa*******@road runner.comwrote in message
>news:eu*** ***********@TK2 MSFTNGP05.phx.g bl...
>>If IE is open I'd like my app to receive an event or otherwise know
>>when IE receives a mouse click.
>>>
>>Is that fairly easy to do?
>>>
>>>
>>Thanks in advance
>>>
>
>


Jul 31 '08 #7
I understood one word in the readme file, "Notes" all the rest would never
get through my spell checked!
e.g.,Interopéra bilité avec Internet Explorer, exemple de technologie

Anyway, the vb code did not have a sln file so I made a new solution and
inserted the .vb file.

But, as you said the reference was missing.

I tried to figure what the correct item in the reference list is to allow
SHDOCw.

Is it COM or Net?
thanks
"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:uj******** ******@TK2MSFTN GP03.phx.gbl...
first take a look at the readme file 'cause it 's not working
you need to set the correct reference !

"AAaron123" <aa*******@road runner.comwrote in message
news:un******** ******@TK2MSFTN GP04.phx.gbl...
>I was searching for IEautomation and got many hits all N.G.

This looks like a nice example because it's brief.

Now I need to study it.

Thanks for the extra effort


"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:uh******* *******@TK2MSFT NGP02.phx.gbl.. .
>>here it is
it is microsoft copyright and i 'm not sure i can redistribute it but as
i
download it from microsoft.com !

"AAaron123" <aa*******@road runner.comwrote in message
news:O$****** ********@TK2MSF TNGP03.phx.gbl. ..
I can't find it but I've decided I'll trigger on a timer tick rather
than
a mouse click.

Thanks a lot

"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:%2***** **********@TK2M SFTNGP02.phx.gb l...
no it is a sample console program that give information like spy the
ie
window
>
"AAaron12 3" <aa*******@road runner.comwrote in message
news:uT**** **********@TK2M SFTNGP03.phx.gb l...
>I think I found your IEautomation reference:
>>
>http://forums.microsoft.com/MSDN/Sho...49302&SiteID=1
>>
>Is this the one you had in mind?
>>
>-----------------
>>
>I created a VS project an inserted the code and added the COM
>referenc e
>to Microsoft.Inter net.Controls
>>
>But I get the error in the code from the Internet:
>Error 2 The type or namespace name 'InternetExplor er' could not be
>found
>(are you missing a using directive or an assembly reference?)
>>
>I suspect it wants a "using" but I don't know what to put on the
>"using". The Help doesn't seen to say.
>>
>Do you know how to fix this?
>>
>---------
>I noticed there are two controls mentioned in the Internet. We are
>not
>using the WebControl - right?
>>
>---------
>thanks
>>
>>
>>
>"Gillard " <gillard_george s@@@@@@@@@hotma il.comwrote in message
>news:e8*** ***********@TK2 MSFTNGP03.phx.g bl...
>>there is a sampe on msdn called IEautomation check it
>>>
>>"AAaron12 3" <aa*******@road runner.comwrote in message
>>news:eu** ************@TK 2MSFTNGP05.phx. gbl...
>>>If IE is open I'd like my app to receive an event or otherwise know
>>>when IE receives a mouse click.
>>>>
>>>Is that fairly easy to do?
>>>>
>>>>
>>>Thanks in advance
>>>>
>>
>>



Jul 31 '08 #8
shdocvw.dll com in %windir%\system 32

"AAaron123" <aa*******@road runner.comwrote in message
news:Of******** ******@TK2MSFTN GP06.phx.gbl...
I understood one word in the readme file, "Notes" all the rest would never
get through my spell checked!
e.g.,Interopéra bilité avec Internet Explorer, exemple de technologie

Anyway, the vb code did not have a sln file so I made a new solution and
inserted the .vb file.

But, as you said the reference was missing.

I tried to figure what the correct item in the reference list is to allow
SHDOCw.

Is it COM or Net?
thanks
"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:uj******** ******@TK2MSFTN GP03.phx.gbl...
>first take a look at the readme file 'cause it 's not working
you need to set the correct reference !

"AAaron123" <aa*******@road runner.comwrote in message
news:un******* *******@TK2MSFT NGP04.phx.gbl.. .
>>I was searching for IEautomation and got many hits all N.G.

This looks like a nice example because it's brief.

Now I need to study it.

Thanks for the extra effort


"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:uh****** ********@TK2MSF TNGP02.phx.gbl. ..
here it is
it is microsoft copyright and i 'm not sure i can redistribute it but
as i
download it from microsoft.com !

"AAaron123 " <aa*******@road runner.comwrote in message
news:O$***** *********@TK2MS FTNGP03.phx.gbl ...
I can't find it but I've decided I'll trigger on a timer tick rather
than
a mouse click.
>
Thanks a lot
>
"Gillard" <gillard_george s@@@@@@@@@hotma il.comwrote in message
news:%2**** ***********@TK2 MSFTNGP02.phx.g bl...
>no it is a sample console program that give information like spy the
>ie
>window
>>
>"AAaron123 " <aa*******@road runner.comwrote in message
>news:uT*** ***********@TK2 MSFTNGP03.phx.g bl...
>>I think I found your IEautomation reference:
>>>
>>http://forums.microsoft.com/MSDN/Sho...49302&SiteID=1
>>>
>>Is this the one you had in mind?
>>>
>>-----------------
>>>
>>I created a VS project an inserted the code and added the COM
>>referen ce
>>to Microsoft.Inter net.Controls
>>>
>>But I get the error in the code from the Internet:
>>Error 2 The type or namespace name 'InternetExplor er' could not be
>>found
>>(are you missing a using directive or an assembly reference?)
>>>
>>I suspect it wants a "using" but I don't know what to put on the
>>"using" . The Help doesn't seen to say.
>>>
>>Do you know how to fix this?
>>>
>>---------
>>I noticed there are two controls mentioned in the Internet. We are
>>not
>>using the WebControl - right?
>>>
>>---------
>>thanks
>>>
>>>
>>>
>>"Gillar d" <gillard_george s@@@@@@@@@hotma il.comwrote in message
>>news:e8** ************@TK 2MSFTNGP03.phx. gbl...
>>>there is a sampe on msdn called IEautomation check it
>>>>
>>>"AAaron1 23" <aa*******@road runner.comwrote in message
>>>news:eu* *************@T K2MSFTNGP05.phx .gbl...
>>>>If IE is open I'd like my app to receive an event or otherwise
>>>>know
>>>>when IE receives a mouse click.
>>>>>
>>>>Is that fairly easy to do?
>>>>>
>>>>>
>>>>Thank s in advance
>>>>>
>>>
>>>
>
>


Jul 31 '08 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
32638
by: BadOmen | last post by:
I want my program to send a mouse click to the window at the current mouse position, how do I do that? Example: I have my mouse over a button in Word and then my program is sending the left mouse click and the button under the mouse is clicked. Yours, Jonas
1
5322
by: john woo | last post by:
Hi I'm not good at JS, but want to get more about it. I want to use a JSP (the java code just used to get date, the rest are html and javascript), to display a table. the requirement is the all rows in even number in light-blue, rows in odd number in light gray, when a mouse clicks on a row, this row gets highlighted and in yellow, and it keeps highlighted
1
1848
by: DotNetMania | last post by:
panel has not Key press event... that's why.. if i have to figure invoking any event out when panel clicked it is so difficult...what button is clicked .... button of Mouse like .. Left, Middle, and Right... how can i distiguish...
3
2070
by: jcrouse | last post by:
I have created a form designer type application (with a lot of you peoples helpJ). It has label controls that are draggable at runtime. The user is also allowed to change some properties such as forecolor, backcolor and font. The labels also are rotatable and the text can also be flipped 180 degrees (the flipped text part is still being worked on). I have one context menu for all 30 labels that allows for the property changes to the labels....
7
1232
by: Anthony | last post by:
Hi, I'm experiencing a delay (of about 1-2 seconds) when I try and select and item in my VB.NET windows menu. The menu item eventually appears and the program carries on as normal. But I cannot track what is happening between the click and the items appearing. Strangely enough, occassionally I need to wait a second or so to get buttons to fire off too. Are these problems related?
19
5938
by: wmanzo | last post by:
I have a really professional conspiracy movie site and I use tons of layers and an external scroll bar assembly. I would like to put the various sections into MS Iframes and in order to clean up the page but I find that the iframes interfere with the getting the mouse coords from the screen which is essential in moving the scroll bar around. My test html is given below. With the iframe hidden the mouse coords are obtainable. With the...
3
3764
by: Morten Snedker | last post by:
If I have a number of random applications open, move the mouse cursor to a given position and do a click, the application gets the focus. That is what this simple code should illustrate: Dim pt As Point Dim wnd As IntPtr Const WM_LBUTTONUP = &H202 '//LButton up Const WM_LBUTTONDOWN = &H201 '//LButton down
3
1824
by: Marc | last post by:
Anyone know how to add a drop down menu to a button that will appear when you right click the mouse?
6
1822
by: Murray Hopkins | last post by:
Hi. THE QUESTION: How do I get a reference to my Object when processing an event handler bound to an html element ? CONTEXT: Sorry if it is a bit long. I am developing a JS calendar tool. One of the requirements is that the calendar will need to display a varying number of months (1..3)
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8876
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7741
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2341
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.