How To Send HTTP Post Data Such As That Created By A HTML FORM And Send The Data To A Server
Hello List,
I am looking for examples in how to send HTTP Post data to a server and wonder if anybody will have an example I can refer to.
Best regards,
Bruno Romero
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Send Data To A Web Server By POST Method
Hi,
I have one login page which is a html with form action for web server.
How can i send the Login data to the server login php script via POST method from vb? I can't click on the Submit button in the login page since i m trying to implement automatic login.
The login php script on the server gets the data via post method only.
Inet Using Post To Send Data VIA PHP
Hey
On my website i have a contact form, and i bascially want to emulate that in Visual Basic. I dont know much about PHP, and my friend have me the code which allowed me to make the contact form. In the HTTP this is what the form does...
<form name="form1" method="post" action="CContact.php">
The the PHP takes over.
<?php
// headers for the email listed below
$headers .= "From: $name <$email>
"; // your email client will show the person's email address like normal
$headers .= "Content-Type: text/plain; charset=iso-8859-1
"; // sets the mime type
$recipient = "someemail@ntlworld.com"; // enter YOUR email address here
$subject = "Contact Form"; // this is the subject of the email
$msg = "Name: $name Email: $email QuestionSuggestion: $question";
mail($recipient, $subject, stripslashes($msg), $headers); // the mail() function sends the message to you
//Once the data is entered, redirect the user to give them visual confirmation
header("location: thankyou.htm");
?>
Ive added inet to my form, as i know this is what you need to use to do this sort of stuff. However I don't really know what im doing TBH. Ive changed the protocal to icHTTP, and I know you have have to use...
Inet1.Execute <To PHP File>, "POST"
But i have no idea how to emulate the html form. ANY advice will be greatly appreciated.
How To Send Data To Php Via Post Method From Vb6
Could any one show me how send 3 variables(textbox data,listview 4th coloumn item and another constant varible to a php script via post method frm within vb6 by clicking send button. My goal is to send these 3 varibles to php script so it writes them to mysql.Thanks
How To Send POST Data With Winsock In VB
I am trying to send POST data with Microsoft Winsock control but keep on receiving garbage from the webserver. Can anyone tell me the reason please?
What I send:
POST /search HTTP/1.1
Host: www.google.com
Content-Length: 30
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Media Center PC 3.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Connection: close
hl=en&q=sql+tutorial&btnG=Google+Search
What I get:
HTTP/1.1 501 Not Implemented
Connection: close
Content-Type: text/html
Server: GWS/2.1
Transfer-Encoding: chunked
Content-Encoding: gzip
Date: Mon, 23 Oct 2006 17:08:55 GMT
Cache-Control: private, x-gzip-ok=""
Need To Post/send Data To UCP Port (and TCP)
Well.. I have a program which soon will be able to interact with MSN messenger.. But I need to learn/ be able to do one thing..
I need to get/be able to connect to an UCP port on my system...
How can I connect to 127.0.0.1:1893 (ucp) instead of TCP
Can anyone show me an SIMPLE example, or modify the following code....Please !!!
-----Simple SEND program-----
Private Sub Command1_Click()
Winsock1.Close
DoEvents
Winsock1.Connect ip, port
Do
DoEvents
Me.Caption = Winsock1.State
Loop While Winsock1.State <> sckConnected
If Winsock1.State = sckConnected Then
Me.Caption = "Connected.."
End If
End Sub
Private Sub Command2_Click()
If Winsock1.State = sckConnected Then
Winsock1.SendData sendtext.Text
sendtext.Text = sendtext.Text & vbCrLf & "YOU SAY: " & sendtext.Text
Else
Me.Caption = "Not connected"
DoEvents
End If
End Sub
Private Sub Winsock1_ConnectionRequest(ByVal requestID As Long)
Winsock1.Close
Winsock1.Accept requestID
Me.Caption = "Outside Connect..."
End Sub
Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
Dim data As String
data = ""
Winsock1.GetData data
sendtext.Text = data
End Sub
--------------END of PRO-------------
I also post my program as an ZIP containing vnp+frm
if you wanna modify that and send back into the forum..
Thanks in advance !!!
How To Send Data To Php Via Post Method From Vb6
Could any one show me how send 3 variables(textbox data,listview 4th coloumn item and another constant varible to a php script via post method from within vb6 by clicking send button. My goal is to send these 3 varibles to php script so it writes them to mysql.Thanks
Send POST Data To Website That Uses Frames
Hi,
I'm trying to send POST data and get response data from a website that uses frames and uses https://
the website is : https://www.lasuperiorcourt.org/civilCaseSummary/index.asp?CaseType=Civil
and, for example, I want to search for case # BC332390
I try to retreive the html data via the XMLhttp method in VBA, but the response text says my browser does not support frames. I'm not even sure if I'm doing this right. Can anyone teach me what is going on in this situation? Thanks.
Brian
Winsock HTTP POST - How Can You Send Files?
Like how can you send files that are sent by webbrowsers in the
<input type=file..> element?
anyone know?
i think its done by MIME, but how would you know what headers to use?
HELP: Winsock To Send HTTP POST REQUEST To A Machine
Hello,
I would like to use visual basic to send data to a machine using an HTTP Post request, and cannot decide on the best way to do it. Can I use winsock. Please bear in mind the following.
I am sending a mult-part message (kind of like an email with attachments). It's actually a multimedia message in the MM7 format -> this is similar to email, a multipart MIME message.
I MUST post to a destination using the following format:
http://192.168.3.75:2097/mm7
I need to then send the data which I've formated according to the MM7 spec.
I need to receive responses from the receving application.
Any help would be greatly appreciated.
Thanks
Ben
Send Data From Html To Vb
hey been trying to post data from html form to vb via winsock. I can send the action but am not getting the field vars. My code is below.
HTML Side
Code:
<center><form action=access method=POST><table border=0 cellspacing=2 cellpadding=2>
<tr><td>Username:</td><tr><td><input type=text name=uname size=40></td></tr>
<tr><td>Password:</td><tr><td><input type=password name=upass size=40></td></tr>
<tr><td align=right><input type=submit value=Login></td></tr>
</table></form></center>
When recieved by winsock control, in the data arrival callback function, I see only the action verbiage vs. the action verbiage plus the text field values.
So the output is: POST /access HTTP/1.1
Should be: POST /access?uname=blah1&upass=blah2 HTTP/1.1
thanks in advance
Edited by - trinoble on 5/16/2006 3:36:25 PM
I'm Trying To Send Data To IRC Server
Hello everyone,
I'm tzahi from Israel and I'm new here...
Hope to learn a lot from this forum..!
My question is:
I'm trying to build a program which will connect and use as mIRC program..
one of the options in the program is to connect clones to the server.
i made an array of winsock components... I wrote:
Code:
Private Sub cmdLOAD_Click()
For a = 0 To 99
TCPclones(a).RemoteHost = txtserver
TCPclones(a).RemotePort = txtport
TCPclones(a).Connect
TCPclones(a).SendData ident
Next
on the varible "ident" there is the data which should be sent to the server in order to connect.
the data is ok, but when I'm running it, the following error appears:
"wong porotocol or connection state for the requested transiction or request"
(error number '40006')
and the marked line is "TCPclones(a).SendData ident"
can anyone help me please?
I don't know what the problem is...
Send Data To A Server
Hi,
I was wondering, is it possible to send data to a (game) server?
Like if you know what WPE, or Ethereal is, something like that.
i tryed with an http wrapper, but that didnt worked. that could only send to an http:// adress. and this has to send to an 123.123.123.123 (ip) adress
how can i do that? and, is there some kind of component (plugin thingy) for? like the HTTP wrapper? thats easyer to work with than code only
BTW, im doing this with VB6
edit:
with a winsock when i use (just to test)
Code:
Private Sub Form_Load()
Data = Winsock1.Connect("127.0.0.1", 25)
Text1.Text = Data
End Sub
i get type mismath and it selects ".Connect"
edit2: ok, i found out how to connect, now, how can i send
when i use like
Code:
Private Sub Command1_Click()
Winsock1.Connect "XXX.XXX.XXX.XXX", 5340
Winsock1.SendData "F1 FA "
End Sub
it says "wrong protocol or connection for the requested transaction or request"
and it selects Winsock1.SendData
MSAccess/VB Help With HTML Code To Send Data Back To VB/Access
Hi
I'm using MS Access and Access VB to build HTML pages on my local 'intranet'
from blocks of code/text stored and calculated in Access. What I really need is some code and means by which the HTML form can communicate back to the main application (VB or Access). Could be as simple as updating a flag that user OPER99 opened/viewed page REPORT123(.html) at 01:30. Also need controls so when clicking on buttons/images their choice is sent back or stored for sending at a conclusion.
I'm struggling with some bits but would be interested in some fresh opinions.
Help Needed: How To Send Data From Pda To Server Wirelessly
I am new or completely not sure of how to start sending information data form PDAs to the server. What I need is i develop a software in MobileVB using appforge for a PocketPC2002 Window CE 3.1. I have a grid in the pocketpc displaying prices and product names. How can i send those information from the PDAs to the server which has an Access .mdb database wirelessly?
Any articles or website documentation is a great help for me. If there is any people who had already done somehting similar, and if u dun mind plz upload ur files so i can learn from ur examples u provided for me. Thanks everybody in advance.
POST Data In Html Form That Has Checkboxes And Radio Buttons
I can post data to textfields with no problems with this code:
Code:
postData = "Name=" & Text1.Text
cURL = "http://somehost.com/form.php"
'Inet1.Execute cURL, "POST", Data, "Content-Type: application/x-www-form-urlencoded"
How can i post data to a form that has radio buttons and Checkboxes?
[solved] How To Send A File To Server By Http?
I have a local file and want to send it to server, how to do it by using http? Is it possible to have ID&Password authentication when it sends the file? I searched google and vbforums, still can not find a answer.
thanks
Inet Authentication And Send POST To Web Server
As an example, I have a webpage http://127.0.0.1/cgi-bin/test, and it has web directory authentication.
How do I use Inet Control or any web control to login to the
webpage and send some string by using POST to that webpage ?
How To Send Data To A Form
Hi, I want to send a string data to a form. Once a button is clicked a specific string must be placed in a textbox in the new form. But how do I do that? Is there some way to send parameters to the new form? Or to share some data between them?
Send Data To A/any Form
Hi,
I did not make myself clear in my previous posting, so here is the revised one:
I have a MSComm control (MSComm1) in my main form (frmMAIN) &
I need to use its services in another form.
The situation is as follows:
I have several command buttons on the main form, which, when clicked, open different forms.
These forms can also be opened thru the buttons on the toolbar.
If I click a command button on these forms, I need to transmit some (request) data
(frmMAIN.MsComm1.Output = <request_data>.
When I receive (reply) data (Sub MSComm1_OnComm(), varBuffer = frmMAIN.MSComm1.Input),
I need to send this data to the appropriate form that initiated this transaction.
In C terms, I need to do the following:
pSendingForm->fnOnReceiveReply (varBuffer)
where, pSendingForm is a pointer to the sending form.
My question is, how & where do I store the reference/pointer to the sending form,
so that when the reply is received, it gets the notification?
Is there any other way?
Thanks in advance.
regards,
anant
3 Textbox, Send 1 Data To Another Form.
Hi, Ive posted some questions on this forum and they helped me very well
Still i'm having some minor problemens, I have 3 forms:
1. main (odbc data)
2. text2 = userinput data
3. text3 = problem :S:S
Question --> Can i use a command example "/text for textbox3" in textbox1 ?
--> when i type "/text this date will send to textbox3" in textbox 1 van these data send to textbox 3?
http;//teamarkon.no-ip.com/help.jpg for an example I hope u can answer this.
Thnx
Send The Data Store In USB Device To My VB Form?
Hi,
I am using a contactless USB card reader, with mifare standard 1k as my contactless card. I can read and write to the memory of the mifare card. But, how to retrieve the data from the memory of mifare card to my VB form? For example send the data to a textbox. Need some guidances. Thank you.
I had attached a sample VB form that is given to me when I get the contactless USB card reader.
Doubleclick Datagrid To Send Data To A New Form??
Hi,
I hope someone can help with this problem:
What I have:
2 forms:
- data entry form (has empty checkboxes and text boxes, as well as navigation buttons)
- data query form (has dropdown lists for selections to be entered in an sql statment and a datagrid)
Question:
I want to be able to doubleclick on my data grid on a specfic row at runtime and be taken to my data entry form which displays the data from the selected row.
Is this possible? If so does any one have any suggestions?
Thx for any help i can get
Help! How Can I Send Data To A Webbrowser In A Form, But Not Change The Current URL?
Lets say I wanted to send the following code to a webbrowser:
Code:
<SCRIPT LANGUAGE="JScript" defer>
<!--
var Filler = new ActiveXObject("FormFill.FormFiller");
Filler.FillForms(external.menuArguments.document);
delete Filler;
-->
</SCRIPT>
How can i do that without changing the URL of the webbrowser? I want to send this code to the current document.. anyone know how?
Send Data Form VB To Word-Serial-Letter-Feature.
Greetings! :-)
I would like to send data from VB5 directly to a Word serial-letter.
This is the way i did it before:
step 1: generate the data in VB
step 2: Save the data as a .csv-file
step 3: call a VBA-Macro from the Word-document. The macro fills all fields and prints the document afterwards.
step 4: goto step 1 with another company-ID
Works very well, but ...
.. but i dont want to generate this .csv-file anymore. thats my problem: How can i put this cvs-serial-letter-data directly into this serial-letter (without using the filesystem for temporary saving the csv)?
Maybe you can help me. :-)
Greetings,
Ninn, *curious*
p.s.: another question: is this possible without knowing the version of Word? Maybe some of the users use Word2k, others use Word97.
Send Back Data From A Word 2000 Form To VB6 Program
I have a VB6 program that integrates with Word 2000. After I enter the information in my Word form and close Word, my VBA code quits the Word application and returns to my VB6 app. How can I send back information from my Word 2000 form back to my VB6 program and vice versa. I appreciate anybody's help. Thanks!
Convert An Online Form To WinSock Data Send Ad Submit
I have asked a similer question but i was a lil ahead of myself!, i was discussing Send Methods, but i need to crawl before i walk n run
I need to go back to step one
I have an Online Form, I want to Fill the form the in and submit it VIA winsock, a similer example of what i want to do would be an Account Auto Sign Up for say GEOCITIEs..
This isnt for a geocities sign up program heh, that was just an example so u can see what i need to do, i need to convert anything the size of geocities...
My Form has 4 Elements, 3 Text Boxes called Name, Email, Message and 1 Submit Button!
<form action= "add.pl" name="add" method="post">
<input name="name" maxlength="24" size="30" value="">
<input name="email" maxlength="24" size="30" value="">
<input name="message" maxlength="128" size="50" value="">
</form>
How would i send this data my server using winsock ?
Loading POST Data With The Internet Transfer Control Via HTTP
just sharing the knowledge, and getting rid of the frustration of my last 4 days of work...
i use an inet control in an application, set for http protocol, to upload binary data to an asp page. the data is retrieved by the asp page with Request.BinaryRead() and immediately passed to an activex dll for processing. the inet control uses the .Execute method with a POST instruction for this:
VB Code:
inetctl.Execute someurl, "POST", mydata
the microsoft documentation goes quite silent about the type of the data that can be POSTed, but after a few experiments i figured that only strings are accepted. no big deal, binary data can be stored in a string quite safely. but here's the big catch - if the first character in the POSTed string is null (ASCII character 0), iis discards the whole POST data received.
this seems to be a very annoying bug in the iis server, or at least in the asp pages processing engine. i think the root of the problem is the same old microsoft indecision about how to handle strings - should they consider them as zero-terminated or as structures prefixed with the string length...
yuck.
Send Flexgrid Data From Form 1 To Form 3
i have a flexgrid on form 1:
Private Sub Form_Load()
Dim productdb As ADODB.Connection
Dim productrs As ADODB.Recordset
Dim dbproduct As String
Dim strSQL As String
'Form Load
'Display the form caption as a status quo
If sClassified = "EM" Then
Me.Caption = "Browse Product" & Space(5) & "- [ Status : Employee ]"
Else
Me.Caption = "Browse Product" & Space(5) & "- [ Status : Client ]"
End If
'Set The FlexGrid
'Query The Database product Table
'Insert The records
With MsProduct
.TextMatrix(0, 0) = "Product ID"
.TextMatrix(0, 1) = "Product Name"
.TextMatrix(0, 2) = "Unit Price"
.TextMatrix(0, 3) = "Order Qty#"
.TextMatrix(0, 4) = "Total Price"
.ColWidth(0) = 1500
.ColWidth(1) = (.Width - 4500) - 30
.ColWidth(2) = 1000
.ColWidth(3) = 1000
.ColWidth(4) = 1000
.ColAlignment(0) = 1
.ColAlignment(1) = 1
.ColAlignment(2) = 7
.ColAlignment(3) = 4
.ColAlignment(4) = 7
End With
strSQL = "SELECT * FROM product"
dbproduct = App.Path & "Database.mdb"
EngageData strSQL, dbproduct, productdb, productrs
If productrs.BOF Or productrs.EOF Then
MsgBox "There Is No Product Available" & vbCr & _
"Please Checkout Another Day" & vbCr & "Sorry For The Inconvenience Cause..", _
vbInformation + vbOKOnly, "Sorry Product Not Available"
productrs.Close
productdb.Close
Set productrs = Nothing
Set productdb = Nothing
Else
MsProduct.Visible = False
With productrs
.MoveFirst
MsProduct.Rows = 1
While Not .EOF
MsProduct.AddItem .Fields![ProductID]
MsProduct.TextMatrix(MsProduct.Rows - 1, 1) = .Fields![ProductName]
MsProduct.TextMatrix(MsProduct.Rows - 1, 2) = .Fields![UnitPrice]
MsProduct.TextMatrix(MsProduct.Rows - 1, 3) = "0"
MsProduct.TextMatrix(MsProduct.Rows - 1, 4) = "0.00"
'This is where the Stock Avilable Quantity is placed in a array variable
'later when displaying the Quantity selection
'this will be used to display in a ComboBox in picOrder
ReDim Preserve sStock(MsProduct.Rows) As Integer
sStock(MsProduct.Rows - 1) = CInt(.Fields![StockQuantity])
.MoveNext
Wend
End With
productrs.Close
productdb.Close
Set productrs = Nothing
Set productdb = Nothing
MsProduct.Visible = True
End If
intMethod = 0 'Make sure that Collection is Postage
lblMethod = "Note" & vbCr
lblMethod = lblMethod & "You have selected Collection By Post!" & vbCr
lblMethod = lblMethod & "The current postage charge is : £3.50" & vbCr
lblMethod = lblMethod & "It will be added into the Total Amount"
lblDescTotal = "Total For This Sale + Postage :"
End Sub
how can i send the data in the above flexgrid to form 3?
How To Send Data With Multiple Data Types(different Everytime)
Hi,
I am sending some data to an external USB device. This data contains ID + Parameters. ID should go as a hexa string and paramters should be sent as Hexa value(0x0000) having different data types (like long,byte,integer data type)
So, If i have Data like "dA2302" should be sent as
"dA" = hexa string - String Data Type
23 = 0x23 - cByte(&H23) - Byte Data Type
02 = 0x02 - cInt(&H02) - integer Data type
In USB API i can send this data using any object (could be string,long, or any structure object).
But, My Question is.. Everytime My Data can contain different number of parameters, different data types with different order. So, How can i send these multiple data type values in one object in Visual Basic?
Please Help.. Thanks
Post Data & Html In VB
Hi. I need some litle programm, but i'm to stupid for make ir .
I need in visual basic insert this html form , and make function post data. For example i i push button and valve=(this nuber+1) and then send this script to homepage. I hope you understand my english.
<form method=post action=http://domain.com/takemessage.php>
<table border=1 cellspacing=0 cellpadding=5>
<tr><td><textarea name=msg cols=80 rows=15></textarea></td></tr>
<tr><td align=center><input type=submit value="Send it!" class=btn></td></tr></table>
<input type=hidden name=receiver value=1>
</form>
HTML Post Data Parsing... EEK!
Ok, I have a webserver that I wrote in VB. It works fine, but I was wondering, how could I get it to retrieve the data from forms on my site? For example, on my site, I have 2 text boxes and a command button. When the command button is pressed, it sends the POST command to the server. Now, how can I take the data that is sent and stick it in a variable in my server?
Sending Html Post Data Over A Socket
Hi all, i am developing an application that interacts with a webcam. The webcam is all controlled via a web interface so ive created a winsock connection to connect to. Ive managed to get it to connect and to authenticate and now i need to send some data to the webserver that will connect this camera to another one. Ive been using etheral for this to see what data is being sent.
So far im sending this data:
GET / HTTP/1.1
User-Agent: Mozilla/5.0
Keep-Alive: 300
Connection: keep-alive
Authorization: Basic: YWRtaW46
This works and downloades the index page into a textbox for me.
Now to connect through the web based interface there is a form and a button, once you press the button it posts to a file called cgi_dial and the data it posts is:
notsee=Post+Query&a1=172.32.22.140&a2=&b1=&b2=&c1=&c2=&line=LAN&bonding=Auto&number=6B&band=1024&pre fix=Prefix-None&restrict=Auto&video=H.263%2B&frame=15fps&audio=Auto&Camera=On&data=off&dial=DIAL
In Ethereal it sends the http referer:
Content-Type: application/x-www-form-urlencoded
Cotent-Length: 196
and then it sends line-based text data:
notsee=Post+Query&a1=172.32.22.140&a2=&b1=&b2=&c1=&c2=&line=LAN&bonding=Auto&number=6B&band=1024&pre fix=Prefix-None&restrict=Auto&video=H.263%2B&frame=15fps&audio=Auto&Camera=On&data=off&dial=DIAL
I've tried sending this data however it just disconects me with no error message, I know this probably isnt 100% relevant to VB, but does anybody have any ideas?
Thanks.
Post Data To Server
i want to post a data string like :
str="aasdhgsd " & vbcrlf & "sdksjhsdkhdsk" to server how can i make it?
TCP/IP - Send Data/recv Data.
I trying to connect as following, and i see i am connected to the server. But i dont receive anything, the manual told to send me data as following, can anyone give a sign what type of string or varialbe to be used here, and what could be the value, i realy need to send so that atleast i see i am doing correct?
Manual for interconnect TCP/IP:
1. packets on the tcp socket are always 256 bytes long, they contain one or more primitives, each primitive has a type octet and a lenght octet. A primitive can have fixed size fields and vairable size fields. When a field has a variable size, the first octet of the field always contains the size of the field excluding the length octet.
2. Option mask format to send to server for getting responce explain in manual.
3. Please check the attached file.
0x23
Length=108 or 60
12345678
12345678
bit 0-2:
000:32456789123:test
001:ip address 1
010:ip address 2
011:32484848990:test
100:
....
111
bit 3:
set to 1 if need
bit 4-6:
000:not use
001:324856789231
010:323232323232
011:
....
111
000:not use
001:324856789231
010:323232323232
011:
....
111
bit 7: set to 0
---- my code i am trying.....
Code:Private Sub Command1_Click()
With Winsock1
If .State <> sckConnected Then
If .State <> sckClosing Then 'Sometimes the Winsock gets delayed in the closing state, so make sure it is closed before trying again
If .State = sckClosed Then 'If closed, ok to open, else close it ,Start 5 second count
.Protocol = sckTCPProtocol
.Connect "one1.one.com", "5900"
Else
.Close
End If
Else
.Close
End If
End If
End With
End Sub
Private Sub Winsock1_ConnectionRequest(ByVal requestID As Long)
If Not Winsock1.State = sckConnected Then
Winsock1.Close
Winsock1.Accept requestID
End If
End Sub
Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
ReDim gbIOBuff(bytesTotal)
Winsock1.GetData gbIOBuff, vbArray + vbByte, bytesTotal
Text1.Text = Text1.Text & gbIOBuff & bytesTotal
End Sub
Private Sub Command2_Click()
Winsock1.SendData Text3.Text + Chr(13)
End Sub
Edited by - shamun.toha on 6/8/2008 9:34:42 AM
Send Data?
I did read some of the stuff on winsockvb.com.
But with no sucsess.
Well i make my game in Visual Basic 6.0
With winsock. I have a current players list in my form.
i want the Client.exe to send a msg to the server, and for the server to add a item in the listbox on the client?.
how can i do this?, you have any Tutorials or sutch?
Thx for all the help
Send Data....
I am trying to make a program and their is a section where i want the user to do import on what they think about it and when they fill it out and and hit Submit the infomation they entered is Sent me can someone please tell me what Componets i have to use etc....
Thanks
Send Data
I need to come up with a method of sending data in my turn based game. I'm a noob to winsock but I have the connection stuff down and get sending text but I need to make sure when I send other types of data I come up with a way of doing it that will work.
I've looked around a lot and gotten some useful info but I'm having trouble with the very basics of sending data/receiving it.
I am using a central server and multiple clients, where a client sends info to the server and it is then sent to either multiple clients or a single.
Anyway, how might I send say a boolean from a client to the server and back to a single client?
Like OnlineGame(ArrayNumber) = true for example?
Do I make up an arbitrary string like StrExample = "Test" if OnlineGame = true? And then send the info to the server? Like Winsock.SendData StrExample and then receive it on server with DataArrival? And use SelectCase StrExample = "Test" then OnlineGame = true? And then pass it on in same way to Client?
I need some kind of working sample. I see all the Splitting and packet delimeters and DoEvents and I get what they do but I can't put it all together for my game and what I'm trying to do for my specific game.
Any help would be appreciated. Thanks.
Send Data
Hi, i have a richtextbox and i want to send the content of it to my email address. would i have to use the winsock control and how would i use it? -Thanks
Send Data To Another App
I'm sending data to another app by sendkeys once I have set the application in front of all the others. but it is annoying..
I would like to send data to another app without bringing it to front. How can I do that ? I don't have the source code of the other app.
Send Data From My Ocx To My Vb App?
Hi
I have a problem (quite new to the whole vb/windows thing):
My ocx on my webpage needs to send data to my local vb-application. I want it to work like you can do with Word or IE with Createobject("Word.application") . Then call that object like: myObj.validate(data) .
What do I need to do to make my own vb-app to be accessible by doing so? Shall my local app be regular .exe or something else? Finally, how do I register the validate(string) method as a callable method?
Really need som suggestions...
How To Send The Data To IE
Hi all,
Would you tell me how to send the data to IE which like fill in web form(AI RoboForm - autofill function).
Thanks!
eddywong
|