473,387 Members | 1,481 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 1299
there is a sampe on msdn called IEautomation check it

"AAaron123" <aa*******@roadrunner.comwrote in message
news:eu**************@TK2MSFTNGP05.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.Internet.Controls

But I get the error in the code from the Internet:
Error 2 The type or namespace name 'InternetExplorer' 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_georges@@@@@@@@@hotmail.comwrote in message
news:e8**************@TK2MSFTNGP03.phx.gbl...
there is a sampe on msdn called IEautomation check it

"AAaron123" <aa*******@roadrunner.comwrote in message
news:eu**************@TK2MSFTNGP05.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*******@roadrunner.comwrote in message
news:uT**************@TK2MSFTNGP03.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.Internet.Controls

But I get the error in the code from the Internet:
Error 2 The type or namespace name 'InternetExplorer' 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_georges@@@@@@@@@hotmail.comwrote in message
news:e8**************@TK2MSFTNGP03.phx.gbl...
>there is a sampe on msdn called IEautomation check it

"AAaron123" <aa*******@roadrunner.comwrote in message
news:eu**************@TK2MSFTNGP05.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_georges@@@@@@@@@hotmail.comwrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...
no it is a sample console program that give information like spy the ie
window

"AAaron123" <aa*******@roadrunner.comwrote in message
news:uT**************@TK2MSFTNGP03.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.Internet.Controls

But I get the error in the code from the Internet:
Error 2 The type or namespace name 'InternetExplorer' 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_georges@@@@@@@@@hotmail.comwrote in message
news:e8**************@TK2MSFTNGP03.phx.gbl...
>>there is a sampe on msdn called IEautomation check it

"AAaron123" <aa*******@roadrunner.comwrote in message
news:eu**************@TK2MSFTNGP05.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_georges@@@@@@@@@hotmail.comwrote in message
news:uh**************@TK2MSFTNGP02.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*******@roadrunner.comwrote in message
news:O$**************@TK2MSFTNGP03.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_georges@@@@@@@@@hotmail.comwrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...
>>no it is a sample console program that give information like spy the ie
window

"AAaron123" <aa*******@roadrunner.comwrote in message
news:uT**************@TK2MSFTNGP03.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.Internet.Controls

But I get the error in the code from the Internet:
Error 2 The type or namespace name 'InternetExplorer' 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_georges@@@@@@@@@hotmail.comwrote in message
news:e8**************@TK2MSFTNGP03.phx.gbl...
there is a sampe on msdn called IEautomation check it
>
"AAaron123" <aa*******@roadrunner.comwrote in message
news:eu**************@TK2MSFTNGP05.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 #6
first take a look at the readme file 'cause it 's not working
you need to set the correct reference !

"AAaron123" <aa*******@roadrunner.comwrote in message
news:un**************@TK2MSFTNGP04.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_georges@@@@@@@@@hotmail.comwrote in message
news:uh**************@TK2MSFTNGP02.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*******@roadrunner.comwrote in message
news:O$**************@TK2MSFTNGP03.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_georges@@@@@@@@@hotmail.comwrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...
no it is a sample console program that give information like spy the
ie
window

"AAaron123" <aa*******@roadrunner.comwrote in message
news:uT**************@TK2MSFTNGP03.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.Internet.Controls
>
But I get the error in the code from the Internet:
Error 2 The type or namespace name 'InternetExplorer' 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_georges@@@@@@@@@hotmail.comwrote in message
news:e8**************@TK2MSFTNGP03.phx.gbl.. .
>there is a sampe on msdn called IEautomation check it
>>
>"AAaron123" <aa*******@roadrunner.comwrote in message
>news:eu**************@TK2MSFTNGP05.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 #7
I understood one word in the readme file, "Notes" all the rest would never
get through my spell checked!
e.g.,Interopérabilité 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_georges@@@@@@@@@hotmail.comwrote in message
news:uj**************@TK2MSFTNGP03.phx.gbl...
first take a look at the readme file 'cause it 's not working
you need to set the correct reference !

"AAaron123" <aa*******@roadrunner.comwrote in message
news:un**************@TK2MSFTNGP04.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_georges@@@@@@@@@hotmail.comwrote in message
news:uh**************@TK2MSFTNGP02.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*******@roadrunner.comwrote in message
news:O$**************@TK2MSFTNGP03.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_georges@@@@@@@@@hotmail.comwrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl.. .
no it is a sample console program that give information like spy the
ie
window
>
"AAaron123" <aa*******@roadrunner.comwrote in message
news:uT**************@TK2MSFTNGP03.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.Internet.Controls
>>
>But I get the error in the code from the Internet:
>Error 2 The type or namespace name 'InternetExplorer' 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_georges@@@@@@@@@hotmail.comwrote in message
>news:e8**************@TK2MSFTNGP03.phx.gbl. ..
>>there is a sampe on msdn called IEautomation check it
>>>
>>"AAaron123" <aa*******@roadrunner.comwrote in message
>>news:eu**************@TK2MSFTNGP05.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%\system32

"AAaron123" <aa*******@roadrunner.comwrote in message
news:Of**************@TK2MSFTNGP06.phx.gbl...
I understood one word in the readme file, "Notes" all the rest would never
get through my spell checked!
e.g.,Interopérabilité 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_georges@@@@@@@@@hotmail.comwrote in message
news:uj**************@TK2MSFTNGP03.phx.gbl...
>first take a look at the readme file 'cause it 's not working
you need to set the correct reference !

"AAaron123" <aa*******@roadrunner.comwrote in message
news:un**************@TK2MSFTNGP04.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_georges@@@@@@@@@hotmail.comwrote in message
news:uh**************@TK2MSFTNGP02.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*******@roadrunner.comwrote in message
news:O$**************@TK2MSFTNGP03.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_georges@@@@@@@@@hotmail.comwrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl. ..
>no it is a sample console program that give information like spy the
>ie
>window
>>
>"AAaron123" <aa*******@roadrunner.comwrote in message
>news:uT**************@TK2MSFTNGP03.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.Internet.Controls
>>>
>>But I get the error in the code from the Internet:
>>Error 2 The type or namespace name 'InternetExplorer' 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_georges@@@@@@@@@hotmail.comwrote in message
>>news:e8**************@TK2MSFTNGP03.phx.gbl.. .
>>>there is a sampe on msdn called IEautomation check it
>>>>
>>>"AAaron123" <aa*******@roadrunner.comwrote in message
>>>news:eu**************@TK2MSFTNGP05.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 #9

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

Similar topics

10
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...
1
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...
1
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,...
3
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...
7
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...
19
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...
3
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...
3
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
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....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...

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.