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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Close all the application in vb.net

Close all the application in vb.net

Scheduled Pinned Locked Moved Visual Basic
csharp
4 Posts 3 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.
  • V Offline
    V Offline
    V Senthil
    wrote on last edited by
    #1

    Hi, When VB.NET application is loading i need to close all the opened application like Notepad, Folder, Word, Winamp etc., Can any one give me the code to close all the apllication using VB.NET Regards, Senthil V.

    B 1 Reply Last reply
    0
    • V V Senthil

      Hi, When VB.NET application is loading i need to close all the opened application like Notepad, Folder, Word, Winamp etc., Can any one give me the code to close all the apllication using VB.NET Regards, Senthil V.

      B Offline
      B Offline
      b43r_3oo3
      wrote on last edited by
      #2

      i don't think that this methode is the best one. U can call on the user, that their programms should be closed, but when u kill all running processes, u may kill important data. and if u want this, u're aspiration doseen't go for the user but against the user..

      V 1 Reply Last reply
      0
      • B b43r_3oo3

        i don't think that this methode is the best one. U can call on the user, that their programms should be closed, but when u kill all running processes, u may kill important data. and if u want this, u're aspiration doseen't go for the user but against the user..

        V Offline
        V Offline
        V Senthil
        wrote on last edited by
        #3

        ok thanks for advice. I am creating the Setup in VB.NET there in User's Startup Folder im setting to run my application. So that the user can able to open any application in the sytem. But what the problem when im loading the machine it take few minutes to load the project. Give me u'r suggestion to make the project load quick when Operating System loaded.

        D 1 Reply Last reply
        0
        • V V Senthil

          ok thanks for advice. I am creating the Setup in VB.NET there in User's Startup Folder im setting to run my application. So that the user can able to open any application in the sytem. But what the problem when im loading the machine it take few minutes to load the project. Give me u'r suggestion to make the project load quick when Operating System loaded.

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          There really isn't much you can do. If the O/S is still starting up, which is entirely possible even though the user has a desktop showing, you have to wait for the O/S to completely start all of its services adn the same time you're waiting for it to load and start the .NET CLR with your application. You can get some benefit from NGen when you install your application on these machines, but the benefit will be small.

          Dave Kreskowiak Microsoft MVP - Visual Basic

          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