Page 1 of 1

How can i get share folders list ?

Posted: Tue Oct 11, 2005 4:02 am
by schiva
I want to get the all share folders list.
But i can't find Shares([stDisk ], WinFolder).items.count.

----------- My purpose....
with Shares(([stDisk ], WinFolder) do
for i:=0 to items.count -1 do
stringlist.add( items.netname );

Posted: Tue Oct 11, 2005 6:50 am
by madshi
Just remove the 2nd parameter when calling "Shares", then it should work.

Posted: Tue Oct 11, 2005 6:52 am
by madshi
P.S: Please use "ItemCount" instead of "items.count".

Posted: Tue Oct 11, 2005 6:18 pm
by schiva
I really appreciate for your kind support and your wonderfull SDK. :D