?
Solved

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

Posted on 2004-08-30
1
Medium Priority
?
822 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
dimitry_dimitry earned 200 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In this post we will learn different types of Android Layout and some basics of an Android App.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Introduction to Processes
Suggested Courses

771 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