Search:

Type: Posts; User: MHutcheon

Search: Search took 0.05 seconds.

  1. Re: Private WithEvents declaration in a subroutine

    Gee, thanks - so simple. I have a lot to learn...
  2. Private WithEvents declaration in a subroutine

    If I have a line of code



    Private WithEvents TCPclient As New MessageClient(host, port)


    which is initially called at the Class level, is it possible to do the same but in a subroutine, say...
  3. Re: Requesting help with the Codebank thread - network sending and receiving

    This has solved all my problems, so thanks for your help.

    I had to change one line in ImageConversion class to make it work:

    ORIGINAL:


    Public Shared Function ImageToByteArray(img As...
  4. Re: Requesting help with the Codebank thread - network sending and receiving

    Hi there, thanks - that is an interesting option, I'll have look. It might just be the answer! :thumbs-up:
  5. Re: Requesting help with the Codebank thread - network sending and receiving

    No, this is not my code in the screenshot, I found the whole package here in the Code Bank, I understand it was written many years back by a regular user here. For sending strings back and forth it...
  6. Re: Requesting help with the Codebank thread - network sending and receiving

    I gave it a go, found I might need to add the same to both MessageClient.vb and MessageServer.vb but once I got that done and stepping through line by line, I have a new problem which makes no sense...
  7. Re: Requesting help with the Codebank thread - network sending and receiving

    Thanks Shaggy, seems more straight-forward than I imagined. I'll give it a go and report back my findings. Thanks again :)
  8. Re: Requesting help with the Codebank thread - network sending and receiving

    My issue is as stated in the opening post - I am using the Wunnell Asynchronous TcpListener & TcpClient as linked to in the opening post on this thread, but as it stands today it is only coded to...
  9. Re: Requesting help with the Codebank thread - network sending and receiving

    Hi, thanks for your replies. We have a simulator which runs on the Unreal 4 engine. In this sim is an MFD which cannot be read via Shared Memory and hacking UE4 memory pointers is a specialist...
  10. Requesting help with the Codebank thread - network sending and receiving

    Hi All,

    With regards to these posts:

    https://www.vbforums.com/showthread.php?587341-VB2008-NET-3-5-Asynchronous-TcpListener-amp-TcpClient&p=5583418&viewfull=1#post5583418

    As you'll see, the...
  11. VS 2022 Re: VB.NET TCP/IP Communication between two applications

    This might be ideal for what you're looking for:

    https://www.vbforums.com/showthread.php?587341-VB2008-NET-3-5-Asynchronous-TcpListener-amp-TcpClient
  12. Re: [VB2008/.NET 3.5] Asynchronous TcpListener & TcpClient

    I thought that was what I was trying to. Here is my code to generate the byte array:



    picScreenCapture.Image = CropImage
    Dim ms As New MemoryStream
    CropImage.Save(ms,...
  13. Re: [VB2008/.NET 3.5] Asynchronous TcpListener & TcpClient

    Hi,

    My code is stopping at this point, saying:


    and when I hover over message it is confirming for me message is a byte array - byte() - and has a length of 36167 bytes. If I read it...
  14. Re: [VB2008/.NET 3.5] Asynchronous TcpListener & TcpClient

    Hi there!

    Thanks for your encouraging reply, and indeed for still being around some 13 years after the original post! :)

    I think I am good with converting the image to a byte array, but I will...
  15. Re: [VB2008/.NET 3.5] Asynchronous TcpListener & TcpClient

    Hello, I am quite new to vb.net programming and this has caught my interest - I have plans for an application to grab a portion of the screen and send it to remote clients. Could the code in the...
Results 1 to 15 of 15



Click Here to Expand Forum to Full Width