Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combox greys out printers with \\servername\printer synt
Message
From
30/06/1999 18:32:41
 
 
To
30/06/1999 17:10:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00236172
Message ID:
00236200
Views:
11
>I'm trying to establish a combobox that shows available printers from the Window's print manager and allows the user to select one.
>
>Some of the printers are network printers and show the name in the UNC syntax of \\servername\printer. Problem is, the combobox strips off the first "\" and grays out the printer, not allowing it to be selected.
>
>Any idea how I can do this?

I guess you are using APRINTERS to fill the array?

Just loop through the array and add a space to the beginning of each element.

Then when you process the contents, be sure to strip the space back out.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform