Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends,

Hope you are fine.

I am thinking to develop a client-server desktop application with vb.net. Client may be 100-150 in terms of quantity. Remote Server will have a real IP and sql server 2005 express running. Client machines will connect the server with dial-up internet.

When a user will press a button, an specific funtion/method (on the server machine) will be invoked, tasks will be done, then return data to the form controls.

sample data might be - Create new user with UserID, FullName, Address, Contact No. If this data is saved successfully in database, a datagridview on the same form (client machine) will be updated.

I am planning it doing by socket programming. But facing problems in sending multiple field data.

Please help me how can i do it. You don't have to write code for me, just tell me the way.
Posted
Updated 13-Jul-11 23:10pm
v2

1 solution

If you haven't strict requirements about the 'desktop' part, why don't you use a web server instead? You know, you would have the clients almost for free (the browsers) and a bit of infrastructure already done.
 
Share this answer
 
Comments
Saumitra Kumar Paul 14-Jul-11 4:24am    
is there any way to do it through desktop application?
Sergey Alexandrovich Kryukov 14-Jul-11 4:27am    
Oh yes, sure.
--SA
CPallini 14-Jul-11 4:31am    
Of course. You have already broadly depicted the right way to do so. Now you have just to design a simple high level protocol for your client/server communication and do a bit of networking development.
Sergey Alexandrovich Kryukov 14-Jul-11 4:27am    
Makes sense, my 5. Well, I think the only problem is the stateless nature of HTTP. If the application is "almost stateless", the benefits of this idea are obvious, in the opposite case (when too much activity for state support is required) a custom client and server might be better.
--SA
Saumitra Kumar Paul 14-Jul-11 4:43am    
dear SAKryukov, would you please explain it little more?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900