Client Server Application In .net?
Jun 4, 2011
i am creating a client server application using vb.net with odbc as my data source to sql server 2005.send me a code that will enable the application running on a client machine to connect to a remote server.the application is to run on LAN and other client machines are on same domain.
View 1 Replies
ADVERTISEMENT
Mar 30, 2009
I've basically made a basic tcp server/client application. The thing is that I'm behind a router and so will be the other people that use my clients. I've had to use port-forwarding or the software "rinetd"to run quite a few applications online.
Let me explain: I'm on a lan network that connects to the internet. Whenever I want to host a server - for instance a basic ftp or http server. If I give my external IP to anyone, they won't be able to access my server. Even if I portforward, it doesnt work. I have to use rinetd here. For other applications, portforwarding works. I'm not sure how these things work at all.
Anyway, my issue now is that I have created this server/client application. I'm having serious doubts that if I run the server, I'll have to either a) portforward or use rinetd to get people to connect to my server. IF I need to portforward, that's fine. However, using rinetd would really suck... My 2nd concern is as follows: IF the person running the client is in a similar situation as me (i.e he's on a lan that has a router which connects to the net), will he have to portforward or use rinetd as well? If he portforwards that's fine. But I don't think I could get people to use rinetd.... Also, if there are more than 1 person on a lan trying to connect to my server, there is a big problem when they try to portforward: they will only be able to allocate one of their internal ip to that port, and the others won't be able to connect, right? How does this work? I mean, I use many softwares like msn/skype/(some games)/firefox that do not need portforwarding/rinetd. Yet they work. My housemates(other people on the lan) use the same softwares, and it works fine. There's no clash/probs watsoever How come these run fine?
Anyway, back to my issues. Given I have no knowledge about how the above work, I was wondering whether there was a way to host a vb .net server application on an external website (external to my house) so that I might *avoid* the above mentioned problems, and to what extent that would be a sound solution.
View 11 Replies
Apr 6, 2012
Case : I'm creating an application (desktop application) with VB.NET (actually windows form), and using SQL Server Express 2008 for its database.
[Code]...
View 1 Replies
Sep 24, 2010
How to make clients on sql server i mean when i will install my application on clients how i will connect it with sql server?
View 6 Replies
Jul 18, 2012
Im planning to create a Remote Desktop Application and I'm having problem with viewing other computers monitor or screen.
Im not asking for the code on how to do it. and one more thing is it safe to use winsock in creating a client/server application?
View 3 Replies
Oct 26, 2009
i'm newbie in this programming..i need some references or a starting guide to build an sql server and vb.net application.
View 3 Replies
Jul 16, 2009
I am creating small application (desktop search engine) which uses sql server as back end. Sql server is used to store huge data using indexing (for quick search). Is it necessary that client should have sql server on his machine to run the application? I don't want to install sql server on client's machine, because my application is just a small utility.Is there any other way so that I can store huge data using indexing?
View 2 Replies
Jun 4, 2012
I have wrote an Application for a organisation and they had let the app run in their lan using Samba, it worked perfect. Now they want to work over the internet.The Problem is that I have written this app with Sqlite, that means its currently working so:They have a exe and the sqlite dll and the sqlite database on their samba server and they connected a network drive on their windows pc to run it. So that means every pc is writing over samba to the sqlite database.
I tried it over the internet, but like i thought sqlite is a local database and its very slow, even if the ping is under 50ms. I could create a tcp server, that handles all and writes all to the sqlite database, but I have already written around 20.000 code lines for the project, so that would be not the best option for the lazy me. I have used only one sqlite class in my client for querieng, so I thought that it could work without much work, if i would replace the sqlite database adapter with the mysql database adapter, since sqlite has nearly the same syntax then mysql.
View 2 Replies
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
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
Nov 8, 2010
I use VB.NET for a Windows application.
How can I find out if the application is now running on a server or client (programmatically)?
View 1 Replies
Jun 3, 2011
i currently have a project. The application created in this project will be located in a server, and some machines can access this application at the same time. The problem is, i don't know what's needed to connect that application to several machines. I know how to build this application and run it in a single machine, but i have no idea about running this on server.
View 3 Replies
Oct 28, 2009
I have developed 2-3 standalone windows application using VS2008(vb.net) + Sql server (2008,2005) and quite comfortable with stand alone windows application. Now i am trying to make a windows app which will share a server database on LAN. I googled alot about this but still no success. So i decided to make that as stand alone app and i just changes the connection string to use remote server database. Everything is working fine still. All the insert, update and delete query are same as stand alone n me not getting any problem while testing through one more remote client system. But while googling i heard abt "CONCURRENCY" control.So please guide me is anything wll b wrong in future wid my this application when i will deploy this to my users? What about locks and how can i implement this to my Insert, update and delete queries to control concurrency and maintain integrity ?Please guide me step by step becoz i m new be to client/server application.
View 7 Replies
Jan 15, 2012
I made one client-server chat application using vb.net. I want to know how can i change the form/icon color when a client sends a message and vice versa.
for eg: like in yahoo messenger or msn messenger,etc, How i user knows when he receives an message.
View 1 Replies
Jun 7, 2009
I am trying to create a a server and client application. All that I want to do is have a client that has a picture box. The server will send an image to the picture box and the client will display it. I have looked online to find some tutorials but most of them just show how to do a connection and usually only with a console application.
View 3 Replies
Jul 8, 2011
Create an UDP Server/Client Application?
View 3 Replies
Jan 21, 2011
First of all, I want to say sorry if this is not a correct forum. I have built several standalone applications up until now. But now I need to create a server client application, the only database is on the server. The application itself is installed on all the client computers but not all of them are granted the same level of access to the database.
[Code]...
View 13 Replies
Aug 9, 2009
SERVER
Im using this code:
Imports System.Threading
Imports System.Net.Sockets
[code]....
but when i tried to run the application, it hangs even if i wait several minutes.., is there something wrong with the code..
View 1 Replies
Apr 13, 2011
I want to create a server client application in which The server will communicate with the client and give them commands. I did the same in visual basic 6.0 using Winsock component.Now I want it to implement using Visual Basic 2008, how to do it and which component to use.
View 5 Replies
Sep 15, 2011
I would like to ask some advise for the best thing to do regarding with this matter. Im working with a client-server application and I should run a pdf file from the server in the client application. The file name is the only saved in the database(MySql) and the full path is in the server. What technique should i used i order to access this file in the server., I planned to use the winsock. Im working in vb.net.
View 1 Replies
Mar 3, 2009
I want to build an application(the client and server) that the clients would be able to see and modify only certain files on the server depending on their credentials. For example, a specific client can read/modify a word file, but another cannot. And the server should specify which client has which rights. After a client has made any change in a file, every other clients should be notified by email. I've read some articles about .Net Remoting but I still don't know how to make a client see/modify files on the server.
View 1 Replies
Feb 15, 2012
I've been Searching the Net for hours now, and i can't really seem to find anything clear and straight to the point.
I need to create a Server/Client application using VB.net 2008, it's actually my first time to have a database on another computer. So I first searched the internet for the things i need to make this software.
[code]...
View 5 Replies
May 5, 2012
I want to create a client-server application, it means I just need 1 database on the server.I have a computer and a laptop. I set my laptop's IP to 192.168.1.1 and my computer's IP to 192.168.1.2.Now I place the database on my computer, the database name is db_transportasi.Problem is, how to connect my computer's database from my laptopSpecification :I'm using this string below for my connection :Data Source=ARVID-THEODORUSSQLEXPRESS;Initial Catalog=DB_TRANSPORTASI;Integrated Security=TrueI already setup my SQL Configuration Manager, enabled the TCP/IP, switch to the IP Addresses tab and set the IPAII Port Properties to 2301I turned off my firewall so I don't have to set any exceptionQuestion
View 4 Replies
Jun 8, 2011
I would really like to know if there is anyway in which I can package two or more set up files together with my vb.net application; so that after installing the application, it automatically starts installing the other applications from the other set-up files.
In my case I want to include mysql server and client together with the application for a demo cd, that am making for a client.
View 4 Replies
Jun 3, 2010
How would I make a Visual Basic application talk to a web server? Someone will press something on the site and I want the application to display the information that the web site passes along to it.
View 2 Replies
Nov 18, 2010
I'm trying to learn how to do some very simple client-server application programming.
Basically, I want to make a program (the server) that listens and waits, and when a commend is sent it will run a batch file or execute a line of code.
The client will just ask for the ip and send the command when a button is pushed.
Shouldn't be too hard right? So what are some good resources that you've used to get started?
View 1 Replies
Apr 1, 2010
I have an exe file that I have copied to test workstations and would like to launch that application instantly when needed from a dedicated server. I could do an agent based (timer) application where client application checks every 2 minutes (or so) for a file on server, it there file is modifoed then it launchs the GUI app on the workstation.
I really want an agentless approach and have tried PSexec and MS SCCEM agent but it still takes 3-4 seconds to launch on each machine one after another. If we are talking about thousands of machines in my environment there could be delay of more than an hour to launch app on each machine.
I was wondering if socket programming is the best approach where instead of a timer; app listens to a port and when it sees it it launches local exe file. I am new to socket TCP/IP programming.
View 2 Replies
Feb 20, 2009
I have recently written a few TCP Client/Server classes for an application. The main thing I am worried about is if the server class is built efficient enough; I don't have any previous experience with tcp networking so I need someone to give constructive criticism and feedback on the design. I'll explain the server design below.At the very bottom of my framework is a ServerClient class, which is pretty much a TCP client with some extra methods, properties, and events. Each ServerClient continiously read for packets, once one in received, they raise a packet received event... this will come in later on.
The actual server class is simple, it uses another thread to endlessly loop waiting for connections. When a connection is found, it converts the TCP Client into one of the above ServerClients then adds event handlers for the packet received and disconnected events. Finally, it stores the newly created ServerClient into a hashtable with all of the other people who are connected to the server.
When a packet is received by one of the ServerClients it is forwarded to the server(because the event handler was set when the connection was established) and then in turn forwarded onto the application with the sender's ID.Just a brief overview, I'm not attaching any code because I don't like doing that. If you want to see it then send me a PM. I'm just looking for constructive feedback on the design; will this system work, will it scale with a lot of users, and how do large servers handle so many clients at one time?
View 6 Replies
Dec 6, 2009
Im a new in this VS2008. But i have some foundation of programming in VB6.0. So im planning to create this application using VB since im familiar in that language.I downloaded a Visual Studio 2008 and SP1 - now on its 90-day trial, and planning to buy the full version depending if it will meet my needs. I just read afterwards the conditions and how to buy it. I hope its free shipping and credit card is acceptable.^^
I need to make an application something like a reporting system, my plan application is a client-server application. Currently im reading the How to topics and some walkthroughs so far so good. Now here are some sort of details and target need to fulfill.
1. An interface from client that will input the data from the multiple-user , including images and these data will be saved in database/table remote server (center database server) LAN.
[Code]...
View 3 Replies
Mar 14, 2010
I have a client/server chat application which I made . My question is how do I make the application work not only Locally but On any other network. I tried putting my IP in the part of creation of the client socket .
View 2 Replies