>In Win2000 aprinters() does not return the name of network printers, but the printer port. This is prefixed with '\\'. If I populate a list box with the array created by aprinters these printers appear in the list but are disabled (as well as dropping one of the '\'s.)
>
>Can anyone tell me how to make the printers appear correctly and enabled? By the way is there any sane reason that '\' is used to disable an item in a list box rather than '\<' as everywhere else in VFP?
Check this thread: Forum: Visual FoxPro Category: Coding, syntax & commands Title: Re: ADDLISTITEM and doublebackslash '\\' Thread #
544910 Message #
545143
If it's not broken, fix it until it is.
My Blog