473,216 Members | 2,074 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,216 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 1293
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....
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.