I am working on an application, using VFP 8.0
The text merge commands \ and \\ allow the printing or displaying of text from within a program.
My problem is that my application uses a dropdown Combo box to list all (including network) printers that are available to the user.
I use an array for the Combo box, and populate the array with: APRINTERS(prt_list).
The array contains:
prt_list(1,1) = "\\Servername\HP OfficeJet G Series"
prt_list(1,2) = "DOT 4_001"
etc.
The problem is that when the Combo box is viewed in the application, this printer appears as "\Servername\HP OfficeJet G Series" (single leading back slash), and it is grayed out, and apparently not available.
Any ideas on how I can let VFP know that the double back slash "\\" is part of the print server name, and is not the lead into a text merge?
Michael
The text merge commands \ and \\ allow the printing or displaying of text from within a program.
My problem is that my application uses a dropdown Combo box to list all (including network) printers that are available to the user.
I use an array for the Combo box, and populate the array with: APRINTERS(prt_list).
The array contains:
prt_list(1,1) = "\\Servername\HP OfficeJet G Series"
prt_list(1,2) = "DOT 4_001"
etc.
The problem is that when the Combo box is viewed in the application, this printer appears as "\Servername\HP OfficeJet G Series" (single leading back slash), and it is grayed out, and apparently not available.
Any ideas on how I can let VFP know that the double back slash "\\" is part of the print server name, and is not the lead into a text merge?
Michael