S
Steve
I have been programming in VB (classic) for many years and am quite
familiar with how I would accomplish this in that enviornment.
However I just started using C# and have no clue. For starters in VB
I would start the other application by calling the Shell function.
Then to actually control the other app I would first locate the window
handle for controls I wanted to interact with using Win32 APIs which
allow me to retrieve the hWnd for a window given its ControlID
(gathered from Spy++). I would then use the SendMessage API (with the
appropriate message constant) to enter text in edit fields, click
buttons, select items from a list, etc.
Can anyone here point me to some resources for figuring out how to do
these things in C#. Ideally I would like to minimize the use of Win32
APIs. IOW if there a framework tools available to do these task I
would rather use them.
Thanks in advance for your help,
Steve
familiar with how I would accomplish this in that enviornment.
However I just started using C# and have no clue. For starters in VB
I would start the other application by calling the Shell function.
Then to actually control the other app I would first locate the window
handle for controls I wanted to interact with using Win32 APIs which
allow me to retrieve the hWnd for a window given its ControlID
(gathered from Spy++). I would then use the SendMessage API (with the
appropriate message constant) to enter text in edit fields, click
buttons, select items from a list, etc.
Can anyone here point me to some resources for figuring out how to do
these things in C#. Ideally I would like to minimize the use of Win32
APIs. IOW if there a framework tools available to do these task I
would rather use them.
Thanks in advance for your help,
Steve