Solved

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

Posted on 2004-08-30
1
780 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now