Search results for query: *

  • Users: JTBob
  • Order by date
  1. J

    How to send and receive text over TCP with VB.Net 2005

    Hi, Thanks for the reply. Sorry, the server isn't under my control, other than to get the software to listen to a port for requests. It was just interesting that was what I had to go through to get the data I needed. The manual I have for the program doesn't state anything about that. But if...
  2. J

    How to send and receive text over TCP with VB.Net 2005

    Hi John, I finally got my code to function, which I've placed into a function call to retrieve requested data. After the connection to the tcpClient was made, I did my call to get requested data. I though I could get the requested data in my read buffer, but I kept getting "Connection made to...
  3. J

    How to send and receive text over TCP with VB.Net 2005

    Hi John, I thought what I was trying was fairly simple, but this socket stuff is getting rather more involved than I thought. I wish my reference manuals would arrive. Basically, I'm looking for something simple (or at least I thought it was). Open a connection to a polled data server, send a...
  4. J

    How to send and receive text over TCP with VB.Net 2005

    Hi John, I finally got down to trying out some of the code from the link you gave to put together a simple client. Here's what I pieced together. Dim tcpClient As New System.Net.Sockets.TcpClient() Try tcpClient.Connect("xxx.xxx.xxx.xxx", 1550) Dim...
  5. J

    Autoredraw for Picturebox

    Hi John, Thanks a lot for the examples. Everything worked perfectly. Passed the instance to the necessary subroutines and commented out the CreateGraphics references. Definitely gives me a clearer picture of what's going on in the background. Thanks again, Robert
  6. J

    Autoredraw for Picturebox

    Hi John, Thanks for the reply. You are correct that I'm using CreateGraphics in my UpdateGraph subroutine. A couple of questions come to mind in using the e.Graphics for the Paint event of the Picturebox: How would I go about passing the instance of the graphics handler to my subroutine? I've...
  7. J

    Autoredraw for Picturebox

    Hi, I migrated a program from VB6 to VB.Net 2005 and have a couple of issues still to resolve. The first is getting a Picturebox to redraw when the form comes back up. My program have two open forms. The primary window has all incoming data, such as GPS information. The secondary window has...
  8. J

    How to send and receive text over TCP with VB.Net 2005

    Hi, I'm just starting to use VB.Net 2005 after using VB6 for so many years. Fun learning curve. And unfortunately my reference books still haven't arrived yet. I found some class libraries on the net, but they were all written for VB.Net 2003, which required more editting to make work in 2005...
Back
Top