ok.. the commmands... those are interpreted through you to the server.. i anticipate you have some form of database retaining your expenses, staggering? properly if the person kinds a command like "g:3".. it is your accountability to establish what which means.. possibly "g" stands for "get" and the colon shows a parameter is coming next.. and the enter of three is for the 0.33 quote.. so some distance as I comprehend what you're doing it fairly is common manipulation of the database.. so which you've gotten stored technique calls and lower back you're those to make the mapping of instructions to the server.. if i knew greater of what those instructions have been meant to do i might desire to be greater advantageous in WHAT you want to do.. -------- I pulled this out of the MS help on a thank you to establish sqlcommands and connections.. I comprehend your 'server app' is a console.. yet is it meant to pull from a db or something? Dim queryString As String = _ "go with OrderID, CustomerID FROM dbo.Orders;" '-- for sure have your individual stored proc or line right here.. using connection As New sq. Connection(connectionString) Dim command As New S qlCommand(queryString, connection) connection.Open() Dim reader As SqlDataReader = command.Exec uteReader() attempt on a similar time as reader.study() Console.WriteLine(String.form at("{0}, {a million}", _ reader(0), reader(a million))) end on a similar time as finally ' consistently call close while finished analyzing. reader.close() end attempt end using
2009-10-28 02:26:30 UTC
Create a socket in both apps..... assign one to listen on a certain port... have the other connect to that port.... send the data
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.