Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

I want to allow my VB.Net Windows Applications to sumbit a web form on-line using ASP on the server. I know it would be some sort of post command but I can't find any documentation on it. Would I have to implement Javascript into my Vb.Net ? If so how do I do it?

I actually need it to send particualr commands to an ASP file from a Visual Basic .Net application.

http://www.brinkster.com/default.asp

Edited by Sylonious
Posted

That is what I got.

 

Dim url As String = useasp.Text

Dim result As String = ""

Dim myBytes() As Byte

Dim myWebClient As New System.Net.WebClient()

Dim myParameterTable As New Collections.Specialized.NameValueCollection()

 

With myParameterTable

.Add("form_address", "Value = " & T.Text)

.Add("Street Address", "Value = " & f.Text)

.Add("r", "Value = " & R.Text)

.Add("s", "Value = " & "s.text")

.Add("b", "Value = " & "b.text")

End With

myBytes = myWebClient.UploadValues(url, "POST", myParameterTable)

result = System.Text.Encoding.ASCII.GetString(myBytes)

result = ResultField.Text

End

 

----------------------------------

I am actually trying to fill out a CGI from using Visual Basic .Net

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...