#26598 - 2002-08-06 10:06 PM
AddProgramGroup Command problem
|
BitCrusher
Lurker
Registered: 2002-08-06
Posts: 2
|
I am having a problem with the AddProgramGroup command on a Windows 2000 Pro machine. Whenever I add a program group, KIX32 and WKIX32 does not seem to release the group. If I try to delete it, I am getting a sharing violation. However, if I do this on Windows NT 4.0 Workstation, I am not having the problem. In order to release the group, I have to either kill explorer and bring it back up, or re-boot. Can anyone tell me why? I am running KIX32 v4.10. Thanks...
BitCrusher
|
|
Top
|
|
|
|
#26601 - 2002-08-06 10:17 PM
Re: AddProgramGroup Command problem
|
BitCrusher
Lurker
Registered: 2002-08-06
Posts: 2
|
I am an administrator on the machines, so I don't think that's the problem. I'm even building it as personal, not common. Anyway, here is the code. Please let me know if you see anything. Thanks... ------------------------------------ $Pgmexec=CHR(34) + "C:\Program Files\Distinct\vt.exe" + CHR(34) + " -A-P MTS_LA_MP" If AddProgramGroup("MTS Execution",0) = 0 If AddProgramItem($Pgmexec,"MTS-Prod","",0,"C:\Program Files\Distinct",0,0) = 0 Copy "%UserProfile%\Start Menu\Programs\Mts Execution\MTS-Prod.lnk" "%UserProfile%\Desktop" If DelProgramItem("MTS-Prod") = 0 If DelProgramGroup("MTS Execution",0) = 0 ?"MTS Icons completed..." Endif Endif EndIf EndIf
EXIT 0 ---------------------------- BitCrusher
|
|
Top
|
|
|
|
#26602 - 2002-08-07 03:01 AM
Re: AddProgramGroup Command problem
|
kholm
Korg Regular
   
Registered: 2000-06-19
Posts: 714
Loc: Randers, Denmark
|
It seems to me that all you are interested in is creating a shortcut.
Instead of creating (and deleting) a programgroup, i suggest you have a look here: MakeScut This is a free tool from ScriptLogic.com to create shortcuts
Also you might searc for 'shortcut' on the KiXtart BBS
-Erik [ 07. August 2002, 03:03: Message edited by: kholm ]
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1046 anonymous users online.
|
|
|