Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / November 2007

Tip: Looking for answers? Try searching our database.

Simulate a doubleclick on Internet trough VBA

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Willow - 21 Nov 2007 10:22 GMT
Hi,
I wrote a macro using IE application. But I can't move on anymore.
A dynamic table is display on the web screen and the source code doesn't
give me any information about the form and fields name. Therefore, the only
way (I think) I have to access what I need is to :
- simulate a double click
- at a particular position (cursor) on the screen.
Does anybody can help ?
I also take all sample it could match with my issue !!
RB Smissaert - 21 Nov 2007 15:00 GMT
If you can get the hWnd (window handle) of the window you want to click then
it is simple with the SendMessage API. Don't need the screen
position for that. You can get the hWnd  with the FindWindow API.
If you can't get the hWnd then you may be able to do it with the
MouseEventEx API.

RBS

> Hi,
> I wrote a macro using IE application. But I can't move on anymore.
[quoted text clipped - 6 lines]
> Does anybody can help ?
> I also take all sample it could match with my issue !!
Tim Williams - 21 Nov 2007 17:49 GMT
Try the IE developer toolbar: it will show you the source for the
dynamically-generated content.

Or the "View DOM" bookmarklet from (eg.) here:
http://www.sam-i-am.com/work/bookmarklets/dev_debugging.html

Tim

> Hi,
> I wrote a macro using IE application. But I can't move on anymore.
[quoted text clipped - 6 lines]
> Does anybody can help ?
> I also take all sample it could match with my issue !!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.