Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General / July 2009



Tip: Looking for answers? Try searching our database.

.vbs To Create XP Program Menu Item?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andy - 30 Jul 2009 21:04 GMT
Hi Gang

Sorry but I'm new to this.  I need to create a script (.vbs) that will
check if the current user has a particular menu item in his/her Start
menu / Programs.  If not then it creates it and applies the right
properties to it.

Can someone help me create this script?

Thanks
Andy
mayayana - 30 Jul 2009 21:52 GMT
You'll need to have access to the user's
start menu folder, use the FileSystemObject
to get the folder's files. Then if you need to
create a .lnk file use WScript.Shell's Shortcut
object to do that. If you don't have the docs
you should download them:
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-
8A76-1C4099D7BBB9&displaylang=en

 If you don't understand the directions I gave
then you should ask in the VBScript group.
This group is for VB, which is different. What you
want is:

microsoft.public.scripting.vbscript

> Hi Gang
>
[quoted text clipped - 7 lines]
> Thanks
> Andy
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.