Results 1 to 11 of 11

Thread: IE tab

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    IE tab

    I am not really sure if this is my vb fault or not. It's a very simple executable that shells an Internet explorer, hide it and then END.

    The issue I am having is that, if I launch an IE application, then launch my exe, which should shell another IE, that IE reuses the already open IE application and open it as another tab. As the result my IE shows and is not hidden as it's supposed to. I wonder if this is just an IE tab setting? It's IE version 7.

  2. #2
    PowerPoster
    Join Date
    Aug 2011
    Location
    B.C., Canada
    Posts
    2,887

    Re: IE tab

    It's a internet explorer setting.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    Re: IE tab

    Do you happen to know what setting it is?

  4. #4
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: IE tab

    Quote Originally Posted by vbbit View Post
    Do you happen to know what setting it is?

    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    Re: IE tab

    Quote Originally Posted by Bonnie West View Post

    I was suspecting that too, but I verified it before posting here it's unchecked. Any other settings?

  6. #6
    PowerPoster
    Join Date
    Aug 2011
    Location
    B.C., Canada
    Posts
    2,887

    Re: IE tab

    Here is a little project I put together, instead of using Shell and no be able to close the window, use CreateObject("InternetExplorer.Application").
    Attached Files Attached Files

  7. #7
    PowerPoster
    Join Date
    Aug 2011
    Location
    B.C., Canada
    Posts
    2,887

    Re: IE tab

    Here is a little project I found that I made a while ago, it gives you the ability to control the tabs, which is a bit more tricky.
    Attached Files Attached Files

  8. #8

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    Re: IE tab

    Quote Originally Posted by Max187Boucher View Post
    Here is a little project I found that I made a while ago, it gives you the ability to control the tabs, which is a bit more tricky.
    thank you but unfortunately, for this particular program, I have to use shell.

  9. #9
    PowerPoster
    Join Date
    Aug 2011
    Location
    B.C., Canada
    Posts
    2,887

    Re: IE tab

    Code:
    Shell "Explorer http://www.google.com" 'Opens in tabs
    Shell "C:\Program Files (x86)\Internet Explorer\iexplore.exe http://www.google.com" 'Opens in new window
    Here are some parameters you can use for example, to start a private window.
    http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx

  10. #10

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    Re: IE tab

    Is there a way to check if there's a running IE, do not open my application in that IE session/tab and make sure it has its own process?

  11. #11
    PowerPoster
    Join Date
    Aug 2011
    Location
    B.C., Canada
    Posts
    2,887

    Re: IE tab

    Why can you only use Shell?
    You will need API calls or use CreateObject() to get running pocessees.
    Also did it work for you or not is it still only opening in tabs with the two of my codes in post #9?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width