Results 1 to 4 of 4

Thread: Is Explorer Open?

  1. #1

    Thread Starter
    Lively Member Flustor's Avatar
    Join Date
    Sep 2001
    Location
    A small hole in Birmingham
    Posts
    76

    Question Is Explorer Open?

    How do you find out if explorer is open using API's?

    I've tried using GetObject but I want to avoid using this because I'd need to install an ActiveX on the machine I'm installing to, which I don't want to do.

    Thanks in advance

    Lucy
    My Spidey senses are tingling!

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Windows Explorer or Internet Explorer ?
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963
    Originally posted by plenderj
    Windows Explorer or Internet Explorer ?
    Well, doesn't matter.
    VB Code:
    1. 'Add a [b]REFERENCE[/b] to Microsoft Internet Control, [b]NOT[/b]
    2. 'Add components
    3. Dim Sws As New ShDocVW.ShellWindows
    4. If Sws.Count Then MsgBox "An explorer window is running."
    ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
    Programming is fun, but only if you're not on a tight deadline
    So I consider all those working engineers sad people

    VB FTP class
    3 page PHP crash course
    Crash Course on DX9 Managed with VB.NET covering basics till terrain creation

  4. #4
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Originally posted by jian2587
    VB Code:
    1. 'Add a [b]REFERENCE<b>Well, doesn't matter. <img src="images/smilies/smile.gif" border="0" alt="" title="Smilie" class="inlineimg" />
    2. </b> to Microsoft Internet Control, [b]NOT[/b]
    3. 'Add components
    4. Dim Sws As New ShDocVW.ShellWindows
    5. If Sws.Count Then MsgBox "An explorer window is running."
    [/B]
    Yes... er... I was about to say that....
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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