How to scrape check box from a site and value as checked

I am scraping a client's site and rendering their screens through my user control (scraping).  At the end I have the need to value a check box as checked so I can proceed to render a button which creates a report.  Look at my code snippet below to see what I have done so far.
--the following gets finds the button "btnPrint" and renders it as clicked.  This works fine.
IHTMLElement InputUsrID = (IHTMLElement) doctitle.GetAll().Item("btnPrint",0);
-- the following is like above, but this time it is a check box and I need to find it as well as value it as checked.  I am not sure about the syntax for the checkbox and if it is the same as I have done above
IHTMLElement InputUsrID = (IHTMLElement) doctitle.GetAll().Item("PolicyReportsQuoteSummary",0);

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
Can you use document.getElementsByTagName or document.getElementById?

66chawgerAuthor Commented:
Bob, what I was originally doing above was correct, the code was just in the wrong place and wasn't being called.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bob LearnedCommented:
If your happy, I'm happy.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.