469,631 Members | 1,776 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,631 developers. It's quick & easy.

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 1187
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by BadOmen | last post: by
1 post views Thread by DotNetMania | last post: by
7 posts views Thread by Anthony | last post: by
19 posts views Thread by wmanzo | last post: by
3 posts views Thread by Morten Snedker | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.