Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6172209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:21:12+00:00 2026-05-23T23:21:12+00:00

I’m building a C# application using .NET 3.5 that will require logging in to

  • 0

I’m building a C# application using .NET 3.5 that will require logging in to a website select some options and then proceed to another page that contains a links to an Excel file. I want to know how I can proceed with these steps.

1) Load the web page (either hidden or visible in a window in application, preferred hidden).

2) Type in the username/password combination and submit them to the website.

3) Choose the appropriate options depending on the account provided (just need to know how can I go through check boxes and lists).

4) Proceed to the next page and load the file in the link (maybe download it to a temp location, read it then delete).

UPDATE:

I have an application that I use at work that does the following …

when I run the application it logs into a server to authenticate my session. The application has a button that when clicked shows/hides the current activity on the page using the webpage itself.

The application loads the page, types the username then password and submits. Then authenticates the session on the server.

But my application is different somehow, my application will load the webpage (home page) logs in then chooses some options (I`ll set those options depending on the page) then on the next page, there will be a link that I`ll load in excel or my application (whichever I`ll be able to do), then will perform my operations on the result based on the user input.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:21:13+00:00Added an answer on May 23, 2026 at 11:21 pm

    Series of POSTs and GETs using HttpWebRequest and HttpWebResponse will get you trough.

    Although this is not an easy task at all. You will also need some tool to actually get the webpage’s “logic”, or in other words sniff it to see how you have to organize your GETs and POSTs. Use a tool like Fiddler to accomplish this task.

    Once you get around what needs to bet GET and what needs to be POSTed, then you can get onto the programming part.

    EDIT:
    The only way you can load a page is trough a HTTP GET(HttpWebRequest), the only way you can login and choose/specify options is trough HTTP POST (HttpWebResponse) that is if the server doesn’t use some kind of web interface(web services or WCF which is a completely different matter)

    And after all that when you actually receive a response you need to parse it for the data you need using regex or whatever suits your needs.

    As far as the excel is concerned. If you want to load the excel in your application and do stuff to it
    there’s a whole API from Microsoft for this purpose: http://www.microsoft.com/download/en/details.aspx?DisplayLang=en&id=5124

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I am using Paperclip to handle profile photo uploads in my app. They upload
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I have a text area in my form which accepts all possible characters from
I'm parsing an XML file, the creators of it stuck in a bunch social

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.