Results 1 to 4 of 4

Thread: Client/server samples?

Hybrid View

  1. #1
    New Member
    Join Date
    Apr 2005
    Posts
    14

    Re: Client/server samples?

    A couple of things you can do here.

    1) I'm asssuming that you have IIS (or other web service running). So the easiest thing to do would be to modify the app to send and retrieve data directly to and from the DB, then give everyone a copy of your app. You can use the Package and deployment Wizard to create a CAB file and HTML page that will download and install onto the client.

    2) Use ASP app to do the same thing. You could change your app to an ActiveX control and use ASP web pages to instantiate the control. The control would contain all the logic to insert and retrieve the data. As above, us the deploymnet wizard to create the CAB and HTML page.

    Hope it helps.

    Goomba

  2. #2

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    8

    Re: Client/server samples?

    Thanks for your advice. I don't really want to convert the app to an ActiveX control nor do I really want to alter it in a such a way via the web. I was hoping there would be another method in terms of the client program being able to login to the server program, or the server program sending an update file when the client program requests it. Surely it is just going to be a TCP/IP routine somewhere? The problem is I don't exactly know where to start with this.

    I guess what I really need is just some samples of code to allow a program to interface with another via TCP/IP (and being able to see who is connected from the server app). From that I suppose I can work out the logistics of the upload/download stuff.

  3. #3
    New Member
    Join Date
    Apr 2005
    Posts
    14

    Re: Client/server samples?

    A quick thought says to look at Winsock. Start with these links:

    http://www.geocities.com/alpha_produ...vb_winsock.htm
    http://www.snible.org/winsock/

    Essentially, you'll want ot create a Winsock Server ActiveX DLL to listen on a particular port. Then you'll need to add a piece to your app to connect to the winsock application and port on the server. Then they would exchange appropriate information.

    Goomba

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