How to Launch the Taskbar and Start Control Panel Applet
Question:
I'm always trying for the most direct and reliable method to open program/windows...one problem that I can't seem to cure is...I'm trying to run all of the control panel applets directly by pointing to the .cpl file...I have found many lists on all of control panel's applets, but one! I can't find the command to run the Taskbar & Start Menu applet!? Does anybody have a cure for this?
Answer:
Here is the tech article I found that contained the code to launch the taskbar applet:
http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/OLE~COM~ADO~CDO~ADSI~LDAP+OLE~Shell~functions.txt
The code you will need is:
;Displays the Taskbar Properties dialog box
oShell = ObjectCreate("Shell.Application")
oShell.TrayProperties
oShell = 0
WinActivate("Taskbar")
Article ID: W17266
File Created: 2014:07:18:09:51:40
Last Updated: 2014:07:18:09:51:40