Author | Topic: Re: Printer Selection | |
---|---|---|
Andreas Gehrs-Pahl View the complete thread for this message in: | Re: Printer Selection on Fri, 06 Nov 2015 21:25:21 -0500 Carlos, >After the indication of the printer's name the function crashes. This >can be debugged set breaking points in lines 64 and 230. I would suggest you simply use the XbpPrintDialog() class for selecting Printers, as it would be more consistent SWB (Standard Windows Behavior). Anyway, as the error occurs within the Active-X object itself, this probably doesn't seem to be an Xbase++ issue, but more likely a problem with how the BrowseForFolder() function is called or how it was implemented in Active-X. The Active-X error message that you get, does state: "Not implemented", which you would be able to see in your code, if you changed line 246 to: if .not. empty(e:description) Have you ever seen an application that (successfully) implemented a Printer Selection through this Folder Browser Dialog? It probably isn't possible with Active-X at all, and you have to use the API function instead. Andreas Andreas Gehrs-Pahl Absolute Software, LLC phone: (989) 723-9927 email: Andreas.GP@Charter.net web: http://www.Aerospace-History.net |