all groups > dotnet windows forms > july 2007 >
You're in the

dotnet windows forms

group:

programatically access property of a control placed on a windows f


programatically access property of a control placed on a windows f Mahesh Deo
7/30/2007 5:30:02 AM
dotnet windows forms:
Hi,

I want to programmatically access property of a control placed on a windows
form which is not a part of my application.

Other application might have already launched and a form is opened. I just
want to access properties of a control based on name of the control.

Is this possible using any api or .net framework

--
RE: programatically access property of a control placed on a windows f Ciaran O''Donnell
8/1/2007 3:14:06 AM
This is possible with the windows api but it not a reliable way to write
software, you need to find the main apps window, then find the window handle
of the control on it. This is not that easy but it is possible. I thinkt the
place to start looking is the FindWindow function in the API

--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com


[quoted text, click to view]
AddThis Social Bookmark Button