Re: MVPS.Org Read/Set Internet Explorer URL from code (api0051) doesn't work.
- From: "Stephen Lebans" <ForEmailGotoMy.WebSite.-WWWdotlebansdot...@xxxxxxxxxxxx>
- Date: Sun, 29 Jun 2008 18:45:49 -0300
Check the Classnames for your version of Internet Explorer as they have
probably changed in some fashion. Do you have Spy++ on your system? Or there
is a WIndow Class viewer on the Access MVP site.
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Salad" <oil@xxxxxxxxxxx> wrote in message
news:hOSdncE3K_xsbvrVnZ2dnUVZ_qDinZ2d@xxxxxxxxxxxxxxxx
Stephen Lebans wrote:
Just glancing at your code, your check for validity of hWnd is incorrect.
For NT or higher you follow this logic:
If hWndChild <> 0 Then
NT or higher you can get a negative value for the hWnd as it is now a
full 32 bit value.
Hi Stephen:
The code at http://www.mvps.org/access/api/api0051.htm worked back in
2005. It was part of my app. I noticed recently it no longer worked.
I changed all references of "hWndChild > 0" to "hWndChild <> 0". That
didn't help because in the third if statement in procedure Refresh()
hWndChild gets set to zero.
I'm thinking that perhaps MS has moved on and the code at the site hasn't
been upgraded and perhaps will never work without a major upgrade.
I really would like to enumerate through open IE windows and present the
subject lines/Urls to the user to associate records with a specific URL.
.
- Follow-Ups:
- References:
- Prev by Date: Re: MVPS.Org Read/Set Internet Explorer URL from code (api0051) doesn't work.
- Next by Date: Re: Help screen font in Access 2003
- Previous by thread: Re: MVPS.Org Read/Set Internet Explorer URL from code (api0051) doesn't work.
- Next by thread: Re: MVPS.Org Read/Set Internet Explorer URL from code (api0051) doesn't work.
- Index(es):