Search found 4 matches

by GuiTester
Fri Sep 15, 2006 9:53 am
Forum: Bug Reports
Topic: Form.GetControls
Replies: 1
Views: 4490

Form.GetControls

The class Form has a method called GetControls which does not take any parameter and the return value is also void. The help for the method says "Gets an array containing all controls in the form ." Also, is there a reason why the classes are named same as in the Systems.Windows? If I use System.Win...
by GuiTester
Fri Sep 15, 2006 7:38 am
Forum: Automation API
Topic: Can't find Control Name
Replies: 4
Views: 6733

Thanks for the reply. I fixed the CoInit problem. I used your example and tried to programmatically get the application handle, the properties window, the solution explorer in my application. I had trouble with the menu bar. If I see the menubar through RanorexSpy, it doesn't have a control name or ...
by GuiTester
Thu Sep 14, 2006 7:26 am
Forum: Automation API
Topic: Can't find Control Name
Replies: 4
Views: 6733

For the time being, I used the class name which looks something like "WindowsForms10.Window.8.app...".

When I call 'FindFormClassName' method, I get a dialog box with the error 'CoInitialize error'. Any idea what this means?
by GuiTester
Thu Sep 14, 2006 7:11 am
Forum: Automation API
Topic: Can't find Control Name
Replies: 4
Views: 6733

Can't find Control Name

I have a C#.NET based windows application. I used the RanorexSpy to find out the class name, control name of the application. I got the values for Caption/text and Class name fields. But, the Class name and Control id fields are empty. In this case, which field should I use to reliable get a handle ...