Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Y2K - Adding printer to combo with AddItem() trancates
Message
 
À
05/01/2000 15:07:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00313453
Message ID:
00313520
Vues:
31
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform