Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-08-30
1
Medium Priority
?
829 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
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 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 …
Progress

609 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