PDA

View Full Version : Un shareing My C: Drive From VB Code


him
14 Sep 2004, 12:31pm
hi i want to un-share my c: drive i am useing NetShareDel Api from vb codeFor it but still my c: is showing shared


dim XX as long
xx= NetShareDel(VbNullString,"C:",0)

if this work fine then value for XX should be 0 however XX values is not comeing 0 instead it is 2310

So if any body know wat the problem then plz let me know

thnakx
:Rocker: