Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Y2K - Adding printer to combo with AddItem() trancates
Message
 
To
05/01/2000 15:07:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00313453
Message ID:
00313520
Views:
32
From the Help file on ComboBox:
An item in a ComboBox control can be disabled by placing a backslash (\) before the item. If the item begins with a backslash and should not be disabled, add an additional backslash.
I think if you add an additional backslash it should give you what you want.

>Code like this used to work before in VFP6:
> .AddItem(" \\PRINTSERVER\HP")
>Combobox showed " \\PRINTSERVER\HP"
>After the new year it stores the printer name
>as " \PRINTSERVER\HP". The first "\" is gone.
>Hence the "Error accessing printer spooler".
>Happens on NT.
>
>Does anybody know what's going on?
Peter Franz
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform