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. Removing program

Removing program

Scheduled Pinned Locked Moved Visual Basic
csharpdotnettoolsquestion
2 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.
  • L Offline
    L Offline
    LeprosyLM
    wrote on last edited by
    #1

    Is there a way to access the programs that are built into the add/remove program in control panel. I want to be able to write a vb program or script that removes the .net framework silently. Is it possibly to access what happens when you go to the control panel and click add/remove programmically? thanks in advance lep

    D 1 Reply Last reply
    0
    • L LeprosyLM

      Is there a way to access the programs that are built into the add/remove program in control panel. I want to be able to write a vb program or script that removes the .net framework silently. Is it possibly to access what happens when you go to the control panel and click add/remove programmically? thanks in advance lep

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

      The easy way to uninstall an app is to use the System.Management classes and WMI. You would be using the Win32_Product class. The downside is it won't do a silent uninstall. The hard way would be to use the Windows Installer API's. The documentation starts here[^]. The upside of using this method is that you get total control of how the uninstall behaves. The down side is it's complexity. I hope your doing in in VB6 and not VB.NET. Trying to write a program in VB.NET to uninstall the .NET Framework is never going to work since you cannot uninstall something that your program absolutely needs in order to run... RageInTheMachine9532

      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