Sign in to follow this  
Followers 0
sladisch

Strange item values in combobox of printer dialog

2 posts in this topic

Hi @ all,

I have a little problem with a combobox of the printer dialog. Let me explain:

In the first step I read out the installed printers and store them into an array. After some steps I reach a printer dialog where I want to select a specific printer from the array. I tried to use:

ControlCommand ("Drucken","","[CLASS:ComboBox; INSTANCE:1]","SelectString", $printerA4)

Because the command didn't work I read out the items of the Combobox like this:

$Combo = ControlGetHandle ( "Drucken", "", "[CLASS:ComboBox; INSTANCE:1]" )
   $sPrinter = _GUICtrlComboBox_GetList($Combo)
   MsgBox(0,"Printer",$sPrinter)

Now the strange thing. The items are containing any strange characters (see attachment)

Any Ideas?

Kind Regard

Stefan

post-80317-0-64614400-1390569882_thumb.j

Share this post


Link to post
Share on other sites



Nobody any idea?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0