Solved

VB.NET/ASP.NET Retrieve submit data with remote website without web services

Posted on 2004-08-30
1
800 Views
Last Modified: 2008-01-09
I wrote an application in VB6 which used the Web Browser control to connect to a remote webserver which is not using web services.  It would connect to this website, browse to a few different pages, download the HTML source from a page, parse the data, run an algorithm, and then submit data through a standard HTML form on that website.  The remote site uses CGI for form submittal.  I am trying to re-write this program using .NET.  I am not sure if I should use a web application (ASP.NET), or if I should use a standard Windows Application using VB.NET.  Any suggestions on how to achieve this goal are appreciated.
0
Comment
Question by:zmorvik
1 Comment
 
LVL 2

Accepted Solution

by:
dimitry_dimitry earned 50 total points
ID: 11934057
You can use both types, because you don`t really need control - HttpWebRequest class can send http requests(get and post methods as I remember) and recieve results as Stream. MSDN link for it is ms-help://MS.MSDNQTR.2004JUL.1033/cpref/html/frlrfSystemNetHttpWebRequestClassTopic.htm
It is easier to display HTML in asp.net application, because all you should do is to Response.Write it. To display result in WinForms application you should use Browser control.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
This is about my first experience with programming Arduino.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question