Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I just developed a windows application, and I want to make it accessible to other computers on the network , at code level, so that they can run it.Is this possible? If it is how do I do this?. If it is not possible at code level, how do I make it possible through operating system setting.
Posted
Comments
Timberbird 22-Aug-11 8:37am    
From your question I cannot actually see what you want. What does "at code level" requirement mean? If all you want is to allow network users to launch this application, you only need to place it in the folder shared over network and give users according ("execute") rights. In this case, hovever, you need to take some things into consideration. Like: do not use absolute paths or application folder! Which, among other things, means that no configs, data files or temp files should be kept in application folder. For all the paths use environment variables pointing to running computers's directories. Also you need to ensure all the external to your application resources (for example, ActiveX controls) are available on each machine

Just copy your application to other computers on the network so they can use that.

And if you want to communicate between these instances of application, you need to code some sockets.

Just explain what type of application you made and what does it do to get more accurate answer.
 
Share this answer
 
Comments
Stefan_Lang 5-Sep-11 5:24am    
Simple and to the point; my 5.

Not that the other solutions are wrong, but they make additional assumptions that I don't see any conceivable hints for.
Ashish Tyagi 40 5-Sep-11 5:44am    
Thank you, Mr. Stefan
i guess a windows application running in a machine cannot be shared!
if you want ur application to communicate with other application in another machine. your application should be of client/server architecture.
That is create a socket application where in ur application can act as a server.
create a connection and bind it and listen for the connections from the client.
Your client applications will conect to the server application in the coresonding port no.

its not the slution, i just gave a sugestion!
correct me anywhere if am wrong!

Thanks,
Arun P.
 
Share this answer
 
If you are developing one database application install your database in one single machine and your applications in another machines in LAN and change its database connection string dynamically
 
Share this answer
 
If you want to run on network.
you should develop web application.
 
Share this answer
 
Comments
Stefan_Lang 5-Sep-11 5:32am    
Come on now, if you were a mechanic and someone asked you how to tune his car so it goes faster, would you tell him to get a Porsche?

;-p

Not saying your solution is wrong, it's just excessive.

P.S.: and he didn't say he wanted to run it 'on the network', just make it accessible. (and the headline even says LAN, no talk of internet either). You might have been reading too much into the word 'network'

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