Send Data From Client To Sever And Sever To Client In 2010

Jan 13, 2011

Client/Server Application in vb.net 2010 i have created but it was just basic one. I need to show send data from client to sever and sever to client and and more functionality. (like showing price ot item or anything

View 2 Replies


ADVERTISEMENT

TCP Client/Sever With DHCP?

Feb 8, 2010

I have a simple TCP Client/Server application that ties two pcs on a lan together. This has worked great for many job sites but the most recent has an IT manager that will not allow me to set a static ip address on the server pc.Basically, I was wondering if there was a nifty way to have the client find the server.

View 25 Replies

Download File From Sever To Client

Jan 29, 2012

How to "download a file from sever to client".

View 3 Replies

Securing Sqlserver 2008 Server Database In Client / Sever Application

Oct 29, 2009

This is my first client server application using vs2008(vb) + sqlserver 2008. how can i hide my database schema,tables from application users through management studio..?

View 5 Replies

VS 2010 : Send Data From Client To Server (encrypted) And The String Sent From The Client Is Not The Same As Received From The Server?

Jun 27, 2011

Hey guys, I am trying to send data from client to server (encrypted) and the string sent from the client is not the same as recieved from the server. I've been killing my brain for hours to get this to work but I cant manage. Im converting everything to Base64 string.

Client:

Public Sub SendMessage(ByVal msg As String)
Try
SyncLock myclient.GetStream
sw = New IO.StreamWriter(myclient.GetStream)

[code]....

View 4 Replies

Client Socket - Send Message Through Client Socket Receive Specified Argument Was Out Of Range Of Valid Values

Oct 15, 2011

Below is my code, but when i send the message thru client socket i receive Specified argument was out of the range of valid values. Parameter name: size

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Dim serverStream As NetworkStream = clientSocket.GetStream()
Dim outStream As Byte() = _
System.Text.Encoding.ASCII.GetBytes("0800822000000000000004000000000000000920092126012345001")

[CODE]...

View 1 Replies

VS 2008 TCP Server / Client - Client To Send The Server 4 Numbers - Depending On The User's Choice

May 9, 2009

how to create a client/server... But I couldn't... I don't want anything fancy. Just want the client to send the server 4 numbers, depending on the user's choice; after that, the server would turn off the pc, restart it, etc. It all depends on the number received. Is there a rather "simple" way to do it? If it's not to much trouble you could use Atheist's example. (Btw I don't understand the code and, yes, I've checked on [URL])

View 9 Replies

Send Data To A Particular Client From Server?

Aug 20, 2010

I have programmed a chat application in VB but as soon as I send any data from a client the server will send it to all. It should send a reply only to a particular client. This is the function I have used.

[Code]...

View 1 Replies

Client-Server-Client Multithreading - Instant Message Another Client

Jun 21, 2010

We are creating a Who wants to be a millionaire style game in VB. Our server is pulling information such as questions and answers from a Access Database and sending them to the contestants (Clients). All transfer of information is directly from the server to each client. One of the "Life Lines" we want to use is "Ask a friend", where one client is able to Instant message another client for a short time to get help on the question.

[Code]...

View 2 Replies

TCP Server/Client "Individual Send To Conected Client"?

Jul 4, 2009

I have got the server app an the Client app Both Working to what i can see But My issue is i was only asked 4 days ago if i could add a Private msg and Whisper Feature as well as admin controls I have Done what i could to it then realised i have no idea how to only send the data to the selected client.

View 14 Replies

VS 2008 : TCP Server/Client "send Hashtable To Client App"?

Jul 15, 2009

i have been working on a chat program Server side and client side i have most of the features i was asked to put in but then once i got most of the bugs out i noticed something the server admin could send whispers and alerts to single users but then when you try do do it on the client side it wont work so i looked through it all and found my issue the user list on the client is only a list of the names in server hash table so i was wondering how do i send the hashtable and all of its data E.G. user connection information to the client so that it can send commands to individual users like the server side can

vb
Public clients As New Hashtable()
' This subroutine checks to see if username already exists in the clients
' Hashtable. If it does, send a REFUSE message, otherwise confirm with a JOIN.

[code]....

i tried to send the hashtable over the same method used to send the user names to the client but it cannot convert the hashtable to a string so that wont work so my question is How do i send the hash table to the user from the server then display the username on the client ??

View 39 Replies

TCP Communication - Send Data From The Client A Second Time

Oct 29, 2009

I've been playing around with the TCP client/server sample code I found on [URL] but I can't seem to get it to function correctly. The problem I am having is that if I try to send data from the client a second time I get nothing back, not even an error that it couldn't send data. Every time I run the project it works the first time but that's it. When I was running the code line by line it seems to get to 'networkStream.Read(bytes, 0, CInt(tcpClient.ReceiveBufferSize))' and then it jumps over the rest of the routine.

[Code]...

View 3 Replies

VS 2008 Multiple TCP Clients - Send The Data Twice To The Same Client

Mar 18, 2009

I have a large class that I built to act as a TCP server for one of my silverlight applications. When a user connects it stores the tcp client into a table for later communication. The problem is that when I send data, with more than one client connected, it loops through both open TCP Clients but some how sends the data twice to the same client.... the other tcp client never receives his data. This isn't a logic issue as I can step through the code and see that it is clearly taking each individual TCP client out of the table and sending it the data. They all use the same port... could that be the issue? And if so how do I make it so that it can connect on one port then transfer to another? I have tried using different computers for connecting but still the most recently connected client receives all of the packets of data.

View 6 Replies

Application For Exam. Client Server. Receive And Send Data?

Sep 21, 2011

In our project we've decided to put an exam generator using vb.net and after generate you can send it to client computer/students. *server computer/teacher will the one who will use exam generator and send it to the client computer/student*student will recieve it and then send it back again to the server computer/teacher*teachers will going to generate an exam depends on the type of exam, so i think im going to make it a wizard type environment

View 14 Replies

Asynchronous Socket Programming Vb 2008(.net) Again Server Should Able To Send The Data To Client

Feb 2, 2011

I am facing problem in asynchronous socket communication.

1)I wanted to perform connect(from client to server) operation on enter button and send the data whatever client want to send and disconnect from server. And again client should get connect to server whenever client wanted to send data. this is the mechanism.

i.e how to reuse the socket.

2)Again Server should able to send the data to client.

View 5 Replies

Display Data Stored In A Sql Sever DB Table, The Table Has A Field With 6 Values?

Jul 8, 2009

I currently have this working already for one of my combo box's, but when i try to use the same code i get this error ''There is no row at position 6.'' . The are 2 fields in the table asset_type_id, asset_type_name', im trying to dispaly the values in a combo box for the field 'asset_type_name.

the code for ' Friend Sub RetrieveCustomerInformation2()' works but the other friend sub throws the error.
Imports System.Data.SqlClient
Imports System.Data
Imports System
Imports System.Data.OleDb

[Code]...

View 3 Replies

Communications :: Socket Behaviour - Created A Client That Can Send And Receive Data Via TCP Sockets

Aug 26, 2010

I have created a Client that can send and receive data via TCP sockets. The objects stored on the serverside are the *exact* same object used for the client. They use the same send and receive protocols.

Now, when i send a string from the server to the client , it does precisely what it should do. However when I send a string to the server.... I do receive the string as an equal length of NULL characters. I run the server and client locally.

Basicly what can influence the behaviour between two completely identical objects performing the exact same task? I wonder if there is some socketflag issue if the TCPlistener.accept function returns a completely different setup then the one I R used to.

(if it is of any interest, the send protocol is asynchronious)

View 3 Replies

Connectivity With Sql Sever 2005

Jul 6, 2009

connetvity vb.net with sql sever 2005

View 4 Replies

Create A Directory In Ftp Sever?

Jun 30, 2012

I created a program to upload any file on my ftp server. Is there any way i can modify this code to create a new directory (for example a directory named "images") and then upload the file to that directory?

Public Class ftpuploader1
Private Sub UploadButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles UploadButton.Click

[Code]....

Basicaly i want to know how i could create a new directory on the ftp server from this program itself and den upload the file to the directory that i created

View 2 Replies

Got A New Server, With A New Sever Share Name?

Oct 22, 2009

My company got a new server, with a new sever share name, etc. I also moved my project from 'My Documents' to the C: Drive. I went through all my code and replaced the old path info to the new path. Tried to publish and received errors stating my temporary key was no longer valid. I googled that error and tried a solution. I created a test certificate and the app published as expected.

View 2 Replies

VS 2010 Client-to-Client LAN Messenger?

Jun 15, 2010

Can't find any free ones so thought I would work on one on my own for the heck of the learning experience with TCP stuff.I'm about ready to start on the messaging aspect of it.The biggest thing I'm wondering about is figuring out when people are online.I'm not too sure how the whole thing works.Say I turn on my messenger. Would my messenger just send a message to all IPs on a certain port to say I'm online and then wait for a message back from the IPs that can return messages and then figure out who is online that way?

View 13 Replies

Access Folder On Remote Sever?

Mar 29, 2011

I am looking to access a folder on my web server to retreive a picture and to replace a picture in that folder. I am using VB.Net 2005.

View 3 Replies

Get A Screen Short For .net Sql Sever Connection?

Jun 22, 2010

i need a screen short for vb.net sql sever connection

View 1 Replies

Install Application On Any Web Sever And Use It From A Browser?

Apr 11, 2010

I have developed a vb.net application using sql server 2005 express database. How can i install this application on any web sever and use it from a browser?

N.B.: I have never worked on a website or web application before.

View 2 Replies

Make Exe File With Sql Sever 2005?

Sep 10, 2011

In my project frontend was vb.net and backend was sqlserver..

How to make an exe file ?

View 5 Replies

Save My.settings File On A Sever?

Jul 3, 2010

code to upload the my.settings document for my windows forms application on my sever.

View 2 Replies

SQLhow To Make Sever Query

Jun 30, 2009

How can you query an SQL server data base using a variable passed via an HTML stringHere's my code that connects to the database, and the select statement.

Function GetPins2(ByVal MyTable As String) As Data.DataSe
Dim sqlConn As New SqlConnection( _
"Server=mysever;Database=mydatabase;Uid=myid;Pwd=mypassword;")

[code].....

View 2 Replies

Upload File In Sql Sever 2005 Using .net?

May 18, 2009

i have to upload resume on submit button click..how to add that file in database..and retrivw when selected by recuriters..

View 4 Replies

File Paths On A Sever / DB Connections Strings?

Jun 1, 2008

I am coding this app on my home pc, but when complete it will be run on individual pc(s) (each pc has it oun HD) on a local network. I have a world of questions but right now how do I set the path to my database? is there a way to set a default if its not found.Database(s) that the app use's are stored in a folder on the server. i.e.: P:MyServerNameDeptFolderData for example.OLEDB or TableAdapters which would be the better choice.I understand that MS Access DB is rather resticting.

View 3 Replies

Insert Test.csv File In Sql Sever Table

May 11, 2010

[URL]. i'm in need in a little assistance here i have a textbox that can upload test.csv(file example) into the text box.and then i have another button call "submit" to insert test.csv into the table in sqlserver. when i click submit i want to insert test.csv in sqlserver table name SMS_contact (which contains names, contacts) Im stuck at the submit button where i dont know how to insert test.csv into the database I have no idea how I should do this because I just started learning Vb.net yesterday.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved