T
Ted
I'm new to the group, and new to C#. I'm learning it for my job where
I am building for C# without Visual Studio.
As a result, much of the stuff I've learned thusfar I've had to find
from google. I'm doing ok, and I am gaining reliability in my
programs, but I'm still having a great deal of trouble with 2 specific
things. Please note, much of this is for "macros" for work, and my
office is only comfortable with C# programs.
First, I'm using Process.Start() to open up web-pages which works
great, but I can't figure out how to get from the Process variable to
the Window to the Controls so that I can actually access specific
parts of the web document. Guidance there is much appreciated.
Second, and more importantly. Even if I can never access specific
Process/Window controls, I can still build a work around by simply
clicking on them with the mouse. Moving the mouse around the screen
is nothing (Cursor.Position) but I'm having a lot of trouble
understanding SendInput() and how to actually use the complex API to
send a basic mouse click.
Thank you ahead of time for any help you can give.
I am building for C# without Visual Studio.
As a result, much of the stuff I've learned thusfar I've had to find
from google. I'm doing ok, and I am gaining reliability in my
programs, but I'm still having a great deal of trouble with 2 specific
things. Please note, much of this is for "macros" for work, and my
office is only comfortable with C# programs.
First, I'm using Process.Start() to open up web-pages which works
great, but I can't figure out how to get from the Process variable to
the Window to the Controls so that I can actually access specific
parts of the web document. Guidance there is much appreciated.
Second, and more importantly. Even if I can never access specific
Process/Window controls, I can still build a work around by simply
clicking on them with the mouse. Moving the mouse around the screen
is nothing (Cursor.Position) but I'm having a lot of trouble
understanding SendInput() and how to actually use the complex API to
send a basic mouse click.
Thank you ahead of time for any help you can give.