|
-
Nov 8th, 2006, 03:31 PM
#1
Thread Starter
Hyperactive Member
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:
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:
shell "explorer.exe Mydocs"
-
Nov 8th, 2006, 03:39 PM
#2
Re: windows security center + my documents
not sure about the security center
but mydocs needs the full path..something like this
VB Code:
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"
-
Nov 8th, 2006, 03:44 PM
#3
Thread Starter
Hyperactive Member
Re: windows security center + my documents
 Originally Posted by Static
not sure about the security center
but mydocs needs the full path..something like this
VB Code:
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
-
Nov 8th, 2006, 03:56 PM
#4
Thread Starter
Hyperactive Member
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:
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|