Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. API Calls or VB.NET Code

API Calls or VB.NET Code

Scheduled Pinned Locked Moved Visual Basic
csharplinuxjson
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Don Hamilton
    wrote on last edited by
    #1

    Can anyone tell me either API calls or VB.NET code to do the follow steps or items. 1. Start Windows Explorer. (ProcID = Shell("C:\Winnt\explorer.exe)) 2. Size Window Explorer and set it's position. 3. Set Initial Folder. 4. Set Filter on files shown. (Not a must but would be nice.) 5. Recieve Event or know they have closed Window explorer with my ProcID. Any assistance would be great. Thanks Don Don Hamilton VantageMed Corporation - Kansas City

    N 2 Replies Last reply
    0
    • D Don Hamilton

      Can anyone tell me either API calls or VB.NET code to do the follow steps or items. 1. Start Windows Explorer. (ProcID = Shell("C:\Winnt\explorer.exe)) 2. Size Window Explorer and set it's position. 3. Set Initial Folder. 4. Set Filter on files shown. (Not a must but would be nice.) 5. Recieve Event or know they have closed Window explorer with my ProcID. Any assistance would be great. Thanks Don Don Hamilton VantageMed Corporation - Kansas City

      N Offline
      N Offline
      Niels Penneman
      wrote on last edited by
      #2

      hmm interop with internet explorer to create InternetExplorer object or 1) System.Diagnostics.Process.Create(...) then API i suppose 2) FindWindow to find the window, and some other function to change the windows position SetWindowPos i think 3) is a command line switch 4) don't know 5) Process.Create returns a process object which, when the appropraite property is set, raises the Exit event :-) greetz ;-) *Niels Penneman*


      Software/Dev Site
      Personal Site


      1 Reply Last reply
      0
      • D Don Hamilton

        Can anyone tell me either API calls or VB.NET code to do the follow steps or items. 1. Start Windows Explorer. (ProcID = Shell("C:\Winnt\explorer.exe)) 2. Size Window Explorer and set it's position. 3. Set Initial Folder. 4. Set Filter on files shown. (Not a must but would be nice.) 5. Recieve Event or know they have closed Window explorer with my ProcID. Any assistance would be great. Thanks Don Don Hamilton VantageMed Corporation - Kansas City

        N Offline
        N Offline
        Niels Penneman
        wrote on last edited by
        #3

        ... and get special folders (windows folder) from System.Environment if you can't make it working by setting the filename to "explorer" greetz ;-) *Niels Penneman*


        Software/Dev Site
        Personal Site


        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups