PDA

Click to See Complete Forum and Search --> : Removing Folders from Start Menu


DKCK
Dec 10th, 2000, 04:23 PM
I've got a problem with removing group folders from the Start Menu. I can remove links with a call to fRemoveShellLink. I used OSfCreateShellGroup to create the folders. Does any one know how to remove the folders with a function in VB5STKIT.DLL?

Private Declare Function OSfCreateShellGroup Lib "VB5STKIT.DLL" _ Alias "fCreateShellFolder" (ByVal pstrDirName As String) As Long



Does anyone know how to remove the folder?

Thanks

Dec 10th, 2000, 06:49 PM
Use the Kill and RmDir statements to delete all files in a folder and then delete the folder.

Kill "C:\MyFolder\*.*"
RmDir "C:\MyFolder"