Results 1 to 2 of 2

Thread: taking serial comms elsewhere

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2006
    Posts
    26

    taking serial comms elsewhere

    I have a vb program that is controlling two serial devices on real commports. Does anyone know of anyone who has developed a product to send my serial comms out onto a tcp network using an ocx? I have purchased a wireless rs232 controller which can receive commands on two different TCPports. (the device has a single IP and receives commands on different TCPports and distributes them to the appropriate commport) I have demo-ed several products that require the ports to be manually configured each time the pc started. I would like to be able to launch my app without having to first configure a port. So any products or freeware that can be embedded in my app or started and configured by my app (without ridiculous programming) would be appreciated. Thanks

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: taking serial comms elsewhere

    Look for Serproxy. It's not an OCX, it's an exe that runs on its own and transfers data between COMx and TCP(y). (It's configured with a little text file, so you just set that up once.)

    You could probably do the same thing using the MSComm and INet controls, though. If you do, please post the code - I'd be interested to see it.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

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