473,545 Members | 2,012 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Post to a Form from VB.NET?

Does anyone has any example on how to make a POST Form to a page using VB.net (not asp.net) ?

Thanks...
Nov 20 '05 #1
8 9270
You will have to be more specific in your question. You do not want to use
ASP .NET? How are you planning for your VB .NET program going to interact
with a web site/server in the absence of ASP .NET?
"Smoke" <sm***@netgate. com.uy> wrote in message
news:u%******** ********@TK2MSF TNGP09.phx.gbl. ..
Does anyone has any example on how to make a POST Form to a page using VB.net (not asp.net) ?
Thanks...

Nov 20 '05 #2
I want to post data to a specific page and read the value as a webrequest response, or as a string, or save it a stream, or whatever
make sense?

"Tarren" <noemailplease@ thankyou> wrote in message news:O5******** ******@TK2MSFTN GP12.phx.gbl...
You will have to be more specific in your question. You do not want to use
ASP .NET? How are you planning for your VB .NET program going to interact
with a web site/server in the absence of ASP .NET?
"Smoke" <sm***@netgate. com.uy> wrote in message
news:u%******** ********@TK2MSF TNGP09.phx.gbl. ..
Does anyone has any example on how to make a POST Form to a page using

VB.net (not asp.net) ?

Thanks...


Nov 20 '05 #3
there is an entire web response and web class in .NET it maybe useful for
you. one place to start looking is the System.Net namespace it has most of
what you will need to do something like this

"Smoke" <sm***@netgate. com.uy> wrote in message
news:eB******** ******@TK2MSFTN GP11.phx.gbl...
I want to post data to a specific page and read the value as a webrequest response, or as a string, or save it a stream, or whatever make sense?

"Tarren" <noemailplease@ thankyou> wrote in message

news:O5******** ******@TK2MSFTN GP12.phx.gbl...
You will have to be more specific in your question. You do not want to use ASP .NET? How are you planning for your VB .NET program going to interact with a web site/server in the absence of ASP .NET?
"Smoke" <sm***@netgate. com.uy> wrote in message
news:u%******** ********@TK2MSF TNGP09.phx.gbl. ..
Does anyone has any example on how to make a POST Form to a page using

VB.net (not asp.net) ?

Thanks...



Nov 20 '05 #4
"Smoke" <sm***@netgate. com.uy> wrote in
news:u#******** ******@TK2MSFTN GP09.phx.gbl:
Does anyone has any example on how to make a POST Form to a page using
VB.net (not asp.net) ?


http://www.indyproject.org contains a fully functional HTTP client which
supports posting from many different data formats.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Make your ASP.NET applications run faster
http://www.atozed.com/IntraWeb/
Nov 20 '05 #5
i dont think this is what im looking for, is it?
Look my other reply comments please

Thanks :)

"Chad Z. Hower aka Kudzu" <cp**@hower.org > wrote in message news:Xn******** *********@127.0 .0.1...
"Smoke" <sm***@netgate. com.uy> wrote in
news:u#******** ******@TK2MSFTN GP09.phx.gbl:
Does anyone has any example on how to make a POST Form to a page using
VB.net (not asp.net) ?


http://www.indyproject.org contains a fully functional HTTP client which
supports posting from many different data formats.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Make your ASP.NET applications run faster
http://www.atozed.com/IntraWeb/

Nov 20 '05 #6
I did tryied that, and i was able to request a webpage or and post data to a form using the GET method (passing parameters in the
url) but not able to understand how im suposed to POST data to a page, how do i define which items i want to post? the names and the
value pairs?

Suposed i have http://internet.com/forum.asp then i want to call that page, but posting data, for example username=smoke
password=blah, how im suposed to post those values if not in the url?

is there a way?

thanks for the help...

"Brian Henry" <br**********@n ewsgroups.nospa m> wrote in message news:uz******** ******@TK2MSFTN GP12.phx.gbl...
there is an entire web response and web class in .NET it maybe useful for
you. one place to start looking is the System.Net namespace it has most of
what you will need to do something like this

"Smoke" <sm***@netgate. com.uy> wrote in message
news:eB******** ******@TK2MSFTN GP11.phx.gbl...
I want to post data to a specific page and read the value as a webrequest

response, or as a string, or save it a stream, or whatever
make sense?

"Tarren" <noemailplease@ thankyou> wrote in message

news:O5******** ******@TK2MSFTN GP12.phx.gbl...
You will have to be more specific in your question. You do not want to use ASP .NET? How are you planning for your VB .NET program going to interact with a web site/server in the absence of ASP .NET?
"Smoke" <sm***@netgate. com.uy> wrote in message
news:u%******** ********@TK2MSF TNGP09.phx.gbl. ..
> Does anyone has any example on how to make a POST Form to a page using
VB.net (not asp.net) ?
>
> Thanks...
>
>



Nov 20 '05 #7
"Smoke" <sm***@netgate. com.uy> wrote in
news:OE******** *****@TK2MSFTNG P12.phx.gbl:
i dont think this is what im looking for, is it?
Look my other reply comments please


Yes, its exactly what you are looking for. Its a full HTTP client. Not every
demo does exactly what every user wants, but the component of course does
much more than demos.

The HTTP client component supports .POST as well as GET and others.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Develop ASP.NET applications easier and in less time:
http://www.atozed.com/IntraWeb/
Nov 20 '05 #8
"Smoke" <sm***@netgate. com.uy> wrote in
news:eC******** ******@tk2msftn gp13.phx.gbl:
I did tryied that, and i was able to request a webpage or and post data
to a form using the GET method (passing parameters in the url) but not
GET isnt exactly the same as post but is similar.
able to understand how im suposed to POST data to a page, how do i
define which items i want to post? the names and the value pairs?
Yes, name and value pairs. Just call the POST method instead and either pass
them in as a list of strings, or a stream.
Suposed i have http://internet.com/forum.asp then i want to call that
page, but posting data, for example username=smoke password=blah, how im
suposed to post those values if not in the url?


The Post method takes an extra argument for the parameters.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Get your ASP.NET in gear with IntraWeb!
http://www.atozed.com/IntraWeb/
Nov 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3886
by: Matt | last post by:
Is it possible to post form data and open an invisible window? For example, in page1.as <form action="page2.asp" method="POST" It will post the form data from page1.asp to the server, and open page2.asp. But I dont want to make page2.asp invisible. Any ideas?? Is it possible? Please advise. Thanks!!
1
3035
by: mehlin | last post by:
I am a novice with respect to ASP.NET, and I would appreciate any pointers on how to use VBA (from within EXCEL) to post form data to a .aspx. file on a website, and download an associated data file. Essentially I am trying to emulate Internet Explorer functionality, wherein data is entered into a field on a page, a download button is...
1
5219
by: humbads | last post by:
I am trying to get a popup window to work for editing notes in my application. Here's how I implemented it: The original frame is called ORIGINALFRAME and contains a link like this: <a href="javascript:launchwin();">Edit Note</a> function launchwin() { // ... custom stuff newNoteWindow = window.open(strURL,'NoteWindow',strOptions);
11
4795
by: livin | last post by:
I need to post form data to an ASP page that looks like this on the page itself... <form method='POST'><input src=\icons\devices\coffee-on.gif type='image' align='absmiddle' width=16 height=16 title='Off'><input type='hidden' value='Image' name='Action'><input type='hidden' value='hs.ExecX10ByName "Kitchen Espresso Machine", "Off",...
1
2269
by: jjouett | last post by:
I'm trying to setup an ASPX web page such that an existing Java Client can post form data, and I'm running into a problem. The existing Java Client doesn't set any credentials, and when I try to post to my page, the Java Client gets a 401 error. My own C# client works because I am setting the Credentials of the WebClient, but I have to support...
4
3249
by: Bosconian | last post by:
I have created a form tool page that consists of several dropdowns which allows a user to drill down and select a desired document for viewing in an external window. I need to post the form data to the external window so the values can be used to retrieve the appropriate document. The function below will open the window and post the form...
1
1387
by: sovereign6 | last post by:
Hi all Newbie at PHP. Unable to get my POST form to work at all. http://pro-netmarketing.co.uk/index.php?option=com_staticxt&staticfile=FreeWebsiteAnalysis1.html Any help would be greatly appreciated Thanks
1
4693
by: Techhead | last post by:
Does anybody have the syntax to post form data to a CSV file? On submit, my form page will post to another asp page that will actually handle the data being dumped to a CSV file. I just can't seem to find the correct ASP syntax for this.
2
7110
by: sweetiecakes | last post by:
After a brief Google session, I can only find the following: 1. Instructions for pre-.NET VB 2. Other IE controls I need to send a POST form with the web browser control: I need to do it with it, because I need "silent authentication" to the website with IE. How would I do this?
0
7475
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7664
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7436
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7766
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5981
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5341
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4958
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1022
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
715
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.