sladisch Posted January 24, 2014 Share Posted January 24, 2014 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 Link to comment Share on other sites More sharing options...
sladisch Posted February 4, 2014 Author Share Posted February 4, 2014 Nobody any idea? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now