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. Programaticaly change IE settings/ options

Programaticaly change IE settings/ options

Scheduled Pinned Locked Moved Visual Basic
csharpsecuritytoolsquestion
2 Posts 2 Posters 1 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.
  • J Offline
    J Offline
    JackBradford
    wrote on last edited by
    #1

    Is it possible in VB.NET to change the active scripting settings between enabled and disabled? (Tools>Options>security>custom level is where it can be found manualy) If not, can the internet settings window be opened (without opening internet explorer)? Thanks

    D 1 Reply Last reply
    0
    • J JackBradford

      Is it possible in VB.NET to change the active scripting settings between enabled and disabled? (Tools>Options>security>custom level is where it can be found manualy) If not, can the internet settings window be opened (without opening internet explorer)? Thanks

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

      It's possible to do, but most assuredly not easy to do or understand. It involves a bunch of COM interop work that, frankly, is not going to be easy to understand or explain. Examples are just about non-existant. This would be a large trial-and-error project. It's possible to luanch the Internet Settings control panel using the Process class. The command line would look something like this:

      rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl
      displays Internet Properties, General Tab

      rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,0
      displays Internet Properties, General Tab

      rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,1
      rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,2
      .
      .
      .

      Basically, the number at the end displays one of the tabs in the control panel. -- modified at 16:52 Wednesday 18th April, 2007

      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007

      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