Click here to Skip to main content
15,919,879 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionLegacy VC 6 libraries compatable with .NET?? Pin
Zee man17-Jun-04 9:04
Zee man17-Jun-04 9:04 
AnswerRe: Legacy VC 6 libraries compatable with .NET?? Pin
Kevin McFarlane19-Jun-04 9:09
Kevin McFarlane19-Jun-04 9:09 
AnswerRe: Legacy VC 6 libraries compatable with .NET?? Pin
Joel Lucsy19-Jun-04 15:26
Joel Lucsy19-Jun-04 15:26 
AnswerRe: Legacy VC 6 libraries compatable with .NET?? Pin
Alan Chambers22-Jun-04 6:04
Alan Chambers22-Jun-04 6:04 
GeneralTruly automate your application development - declaratively Pin
bradonf17-Jun-04 6:38
bradonf17-Jun-04 6:38 
GeneralWord breaking and Asian languages Pin
Member 9617-Jun-04 6:14
Member 9617-Jun-04 6:14 
GeneralAssembly (with random name) not Found Problem Pin
jhreich16-Jun-04 9:17
jhreich16-Jun-04 9:17 
GeneralSmart Clients and Client-Server Modules Pin
Vega0215-Jun-04 9:36
Vega0215-Jun-04 9:36 
I am developing a "smart program" of sorts in the sense that there are many client programs and one server. At the moment, the clients are communicating with the server using a NetworkStream. My goal in this software is to have multiple "module pairs" residing on the server that the clients can choose to run at their discretion.

This is the way that I have the framework for this suite set out right now:
- Client opens communication with server using NetworkStream
- Client requests a list of all installed modules on the server
- Client chooses a module to run. At this time the server launches its own executable for that module (i.e. something that would interface with the hardware sitting on the server to take test data). Additionally, the server sends the client an executable (down the NetworkStream) that it can use to view that data.

An example of this would be a module pair that displays outside temperature. The server would have the thermometer hooked into a port, and the server half of this module pair would just take readings every so often. The client half of this module pair would display the temperature reading and various options, and it would communicate with the server half of the module pair. I imagine that it would display a form to accomplish this, and I would like to have that form as a MDI child of the main application window.

I already have a method for the client and server halves of the module pair to communicate, so this does not concern me at the moment. However, I've detailed it here if it helps or if it piques your curiosity. Smile | :) The client and server (applications) expose a class conforming to the Stream interface, but this class just tags the communication with an ID and sends it across the common NetworkStream. The receiver reads the ID and forwards the data packet to the correct Stream. In other words, it's just like the client and server module halves have their own dedicated Stream, but in reality it's all being sent through one already established NetworkStream.

Ok, so now my actual question. I *don't* know how to get the client module half from the server's repository to the client itself. My original plan called for simply sending the executable itself and launching it client-side, but this doesn't take into account things like dependencies. Is there any way for me to transport a fully self-contained assembly to the client for it to execute? Am I making things overly complicated? Perhaps there's a much better way to do this that I'm not thinking of.

I'm using Visual Studio .NET (.NET 1.0). Any help or suggestions in this matter would be greatly appreciated. Thanks!

~ Levi
GeneralRe: Smart Clients and Client-Server Modules Pin
Serge Lobko-Lobanovsky16-Jun-04 7:13
Serge Lobko-Lobanovsky16-Jun-04 7:13 
GeneralRe: Smart Clients and Client-Server Modules Pin
Vega0218-Jun-04 5:50
Vega0218-Jun-04 5:50 
GeneralRe: Smart Clients and Client-Server Modules Pin
Serge Lobko-Lobanovsky21-Jun-04 1:16
Serge Lobko-Lobanovsky21-Jun-04 1:16 
GeneralRe: Smart Clients and Client-Server Modules Pin
Vega0221-Jun-04 3:09
Vega0221-Jun-04 3:09 
GeneralAppDomains and Dynamic Loading in .net CF Pin
ppp00115-Jun-04 8:16
ppp00115-Jun-04 8:16 
QuestionSmart Tags in Visual Studio Editor?? Pin
Boniolopez15-Jun-04 4:17
Boniolopez15-Jun-04 4:17 
QuestionHow to show a Form without changing the Focus Pin
Member 168515-Jun-04 0:02
Member 168515-Jun-04 0:02 
GeneralInvokeMember "Member Not Found" when attempting to set a property Pin
Senkwe Chanda14-Jun-04 23:10
Senkwe Chanda14-Jun-04 23:10 
GeneralRe: InvokeMember "Member Not Found" when attempting to set a property Pin
Serge Lobko-Lobanovsky15-Jun-04 1:27
Serge Lobko-Lobanovsky15-Jun-04 1:27 
GeneralRe: InvokeMember "Member Not Found" when attempting to set a property Pin
Senkwe Chanda15-Jun-04 1:36
Senkwe Chanda15-Jun-04 1:36 
GeneralRe: InvokeMember "Member Not Found" when attempting to set a property Pin
Serge Lobko-Lobanovsky15-Jun-04 1:47
Serge Lobko-Lobanovsky15-Jun-04 1:47 
GeneralRe: InvokeMember "Member Not Found" when attempting to set a property Pin
Senkwe Chanda15-Jun-04 2:19
Senkwe Chanda15-Jun-04 2:19 
GeneralRe: InvokeMember "Member Not Found" when attempting to set a property Pin
Serge Lobko-Lobanovsky15-Jun-04 3:44
Serge Lobko-Lobanovsky15-Jun-04 3:44 
General"Cannot control <service name> service on computer '.' " using ServiceController... Pin
CherezZaboro14-Jun-04 8:35
CherezZaboro14-Jun-04 8:35 
Generalabout CF .net Pin
ting66813-Jun-04 23:54
ting66813-Jun-04 23:54 
Generalsetup project Pin
Dpriya13-Jun-04 20:46
Dpriya13-Jun-04 20:46 
GeneralRe: setup project Pin
Heath Stewart14-Jun-04 9:22
protectorHeath Stewart14-Jun-04 9:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.