How can I pass an argument from a web page that is loaded inside a web browser applet in a C# program, back to the C# application?
<p>This is a probably a dumb question but here is what I've got.</p>

<p>A web developer has a secure login page that after a user logs into it, a database reference is made and it grants rights to a particular PDF file on our network.  There is desire to have a custom locally designed application used to present that PDF file to the user, which is fine as I have used cpp code from Adobe to generate a stripped down viewer, however the problem I'm faced with is integrating his web application into my windows application.</p>

<p>It would be easier for me to just create my own login/database query, but then I'd basically be removing his entire piece of the project.  That in itself presents a problem, as really this entire thing <em>is</em> his project and he asked me for help.  So that's why I'm stuck with this situation where I"m attempting to insert a web applet in the application to present his login page.  From that login page, after it authenticates, he can return a path to that particular file.  He was previously just launching the associated PDF viewer (Acrobat), but what we need is a fully integrated solution.  Make sense?</p>
