CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2003
    Posts
    165

    client/server application

    in .NET what means client/server application ,how can i make an application to work as server application,or as client.
    What's the procedure,the steps to follow.
    for example in VB6,there is a standard exe(as client),and ActiveX EXE as a server application,when i decide to do a pair of client/server applications.
    Many thanks to all ...

  2. #2
    Join Date
    Feb 2001
    Location
    Stamford CT USA
    Posts
    2,167
    Client/server application is just a design spec and can be implemented by any programming language in many ways.

    You can have a server listening to a TCP port and processing incoming request from clients that connect to that port.

    In VB6 COM, you can have an out-of-proc COM object (mostly referred to as ActiveX) that acts as a centralized point to process common routines like retrieving data from the DB.

    In .NET, you'll have options like .NET Remoting, Webservice and the good old TCP/IP implementations.

    -Cool Bizs

  3. #3
    Join Date
    Jan 2003
    Posts
    165

    more documentation

    thanks for informations
    About VB6 COM ,and the process centralized you're speaking ,that reads from DB,can you give some links to some documentation,codes,to see how it is implemented a COM,and how it reads data from databases from a remote server.
    For .NET too it would be very helpful some links,documentation about that classes you mentioned.
    Thanks. i'm very grateful!
    Last edited by jasie24; March 16th, 2004 at 04:23 AM.

  4. #4
    Join Date
    Feb 2001
    Location
    Stamford CT USA
    Posts
    2,167
    I've not done VB6 COM in a while. You can go and search VB forum and I bet you'll be able to find more information about it there.

    For .NET Remoting, MS has a sample that you can download and look at. It is very simple but does illustrate the answer to your question.

    MSDN Sample - .NET Remoting How-To

    Click on the SINGLETON SAMPLE. That is what you need, an object that only gets created once and shared by other processes.

    -Cool Bizs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured