>Thanx a lot for your help. >First of all please tell me about "Wscript.Network" >I think Wscript is a Main DLL and Network is a sub class withjin Wscript" > >And also tell me about other similar thing , which can be used to enhance your applications ....if feel comfortable.!!
See Re: Materials on API, MSDE and WSH Thread #601375 Message #601377.
> >*--- feedback of codes > >your codes only gave printer name..(i was asking for UncPath) >though your variable name is UncPath , but your are storing only printer name >in it.
It Returns UNC path on my PC (Win2K SP2).
From where i can get the information about collection returned by EnumPrinterConnections() function.