shdocvw ShellWindows doesn't work on modal IE windows 
Author Message
 shdocvw ShellWindows doesn't work on modal IE windows

I have a modal IE window that gets opened from another web page via
window.ShowModalDialog().  My usual routine (pasted below) works for
non-modal IE windows but fails to capture the modal window.  Does
anyone know why?  How can I get a handle to a modal IE window then?

Here is the code:

on error resume next

dim oShlWin as SHDocVw.ShellWindows
dim oBrowser as SHDocVw.InternetExplorer

Set oShlWin = New SHDocVw.ShellWindows
For Each oBrowser In shlWindows
  msgbox oBrowser.locationURL 'gives loaded url
Next

thanks
Dexter



Mon, 20 Dec 2004 02:19:18 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. HELP! shdocvw ShellWIndows does not work with modal IE dialog

2. shdocvw.dll doesn't work on both win95 and win98

3. shdocvw.dll doesn't work on both win95 and win98

4. shdocvw.dll doesn't work on both win95 and win98

5. Alt+Tab from IDE to modal VB App - 5.0 works, 6.0 doesn't

6. modal dialog doesn't work

7. Windows Service Calling VB6 dll doesn't work but works with VB6

8. New mail windows doesn't go away with .Display Modal:=True

9. Application runs with Windows 95/NT, but doesn't work with Windows 98

10. fRefreshLinks Doesn't work if path doesn't exist

11. data view window doesn't work vb6.0

12. Code doesn't work on windows 2000

 

 
Powered by phpBB® Forum Software