Hello David,
To give you a picture on why I need accessing the Devices and Printers through GUI and not through command line is that,
I have already used TestComplete versions 6 and 7 in the previous company I worked for. Now, in the company I'm currently working at has not yet invested in Automation tools. All their testing is done manually. My bosses are still hesitant on purchasing expensive tools that's why I'm creating scripts to be used for demo and present to them that TestComplete is able to do automatically the exact testing procedures that they were doing manually before. Although I know that the method you provided was indeed correct and faster, for the purpose that my bosses can understand what automation is all about, I wanted to present the same steps that they were used to doing but now, automatically using the TestComplete tool. I hope you understand my predicament.
BTW, your suggestion on including the DirectUIHWND in the list of accepted windows already worked.
Thank you very much for the help.
Regards,
Ruel