Results 1 to 4 of 4

Thread: windows security center + my documents

Hybrid View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    Greater Manchester, UK
    Posts
    476

    windows security center + my documents

    I am trying to open windows security center using the shell command.

    do you open it like msc files if so what do you open it with

    VB Code:
    1. taskid = Shell("wscui.cpl", vbNormalFocus)

    also just wondering how do you open the my documents folder as an argument with explorer, i have tried
    VB Code:
    1. shell "explorer.exe Mydocs"

  2. #2
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: windows security center + my documents

    not sure about the security center

    but mydocs needs the full path..something like this
    VB Code:
    1. Shell "explorer.exe " & chr(34) & "C:\Documents and Settings\xxxx\My Documents" & chr(34)
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    Greater Manchester, UK
    Posts
    476

    Re: windows security center + my documents

    Quote Originally Posted by Static
    not sure about the security center

    but mydocs needs the full path..something like this
    VB Code:
    1. Shell "explorer.exe " & chr(34) & "C:\Documents and Settings\xxxx\My Documents" & chr(34)
    I was hoping that you didn't have to type the username

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    Greater Manchester, UK
    Posts
    476

    Re: windows security center + my documents

    I have figured it out, i thought i would post the code incase somebody needs it at a later date.

    VB Code:
    1. Shell "control.exe wscui.cpl"

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