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
Solved

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

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
C# code editing and collaboration 3 131
Rubik's Cube Code for Effective Presentation 3 61
program a usb light to turn on when needed 7 68
Plain Text Editor for iPad 6 95
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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

840 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