Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: JL42
  • Order by date
  1. JL42

    no request for automatic e-mail send from outlook?

    The best advice I can give it to add a msgbox just before creating the e-mail, warning the users of the authorization prompt that is about to come, and informing the user to select the option to allow the application to have access for 10 minutes, which would save having to respond 1200 times.
  2. JL42

    InternetExplorer child windows getobject shellwindows

    I was trying to work on a pop-up blocker. Createobject gives you an object that you can trap the newwindow2 event, but you can't cancel it because VBScript uses variants, not an actual boolean. getobject fails, in every permutation I tried. It won't accept a missing path, despite MSDN...
  3. JL42

    Internet Explorer child windows in Object Model

    thanks to billchris, the key is the shell.shellwindows collection, returning a seperate opject for each IE window (but not webbrowser windows, hmmmmm) Here is a short VBSCRIPT demo. ===================================== dim objShell, objShellWindows, i set objShell =...
  4. JL42

    child windows of IE from getobject

    Thanks to member billchris, the key is the shell.shellwindows collextion under the object "shell.application" here is a vbscript demo ================================ dim objShell, objShellWindows, i set objShell = createObject("Shell.Application") set...
  5. JL42

    getobject - how to get children windows of returned InternetExplorer

    Thanks, that's the key I was looking for, the shellwindows collection. (curious, why it returns only IE object windows and not webbrowser object windows, or all windows? Oh well another time) In fact, I have boiled it down to a small demo in VBScript that gives back the URL of each open window...
  6. JL42

    child windows of IE from getobject

    I'm trying to write a pop-up blocker. I can grab the top level parent of Internet Explorer with set oie = getobject( ,"InternetExplorer.Application") but if other windows have been opened by shift+click or a window.open statement, I can't seem to grab a hold of it, nor can I find a...
  7. JL42

    getobject - how to get children windows of returned InternetExplorer

    I have tried the following code with internet explorer opened, and one of the links opened in a new window. set oie1 = getobject( ,"InternetExplorer.Application") set oie2 = getobject( ,"InternetExplorer.Application") 'set a breakpoint on the next statement junk =...
  8. JL42

    WScript.Shell object (CurrentDirectory)

    The CurrentDirectory method is part of version 5.6, which you get automatically as part of the upgrade to IE6, which I would guess is something you want done anyway.
  9. JL42

    Internet Explorer child windows in Object Model

    Where, in the Internet Explorer Object can I find the child windows of the parent window? I opened IE6, then shift+click on a link, then run the following code set oie = getobject( ,"InternetExplorer.Application") 'set a breakpoint on the next statement junk = "garbage" I...
  10. JL42

    Excel VBA -- retrieving info from Internet Explorer

    Try this: set oie = CreateObject("InternetExplorer.Application") oie.navigate(url_string_you_supply) set odoc = oie.document set obody = odoc.body myhtmlstring = obody.innerhtml mytxtstring = obody.innertext
  11. JL42

    Automating Internet Explorer

    You need to add a reference... tools -> Reference -> Microsoft Internet Controls (shdocvw.dll) It then works. Dim WithEvents ie As InternetExplorer Set ie = CreateObject("InternetExplorer.Application")
  12. JL42

    Events in InternetExplorer Object

    I've been working this recently, and here is the answer, for all interested: Here is how the MSDN articles say to use the NewWindow2 event: Sub IEobject_NewWindow2(ByRef ppDisp as object, ByRef Cancel as Boolean) Cancel = True End Sub You can't do this with VBScript! Why? Variants! Here...

Part and Inventory Search

Back
Top