Search results for query: *

  1. M

    Comparing two images

    Thank you!
  2. M

    Comparing two images

    How can I compare two images and send the bytes of the changed area across a network? I don’t need help with the socket part, I understand that well. I just can’t figure out how I should go about comparing two images, looking for any changes. I would greatly appreciate any help.
  3. M

    Question Setup a VPN Connection

    Try this: http://groups.google.com/group/DotNetDevelopment/msg/69130a2b5eb9a222
  4. M

    Network Stream => Memory Stream => Image

    Yes, I understand, so what you’re saying is that the being of the file and the header info might be read into one buffer, thus corrupting the whole process. I’ll try and redesign it. Thank you, for the explanation.
  5. M

    Network Stream => Memory Stream => Image

    Somehow you lost me…lol. I thought I was sending them as bytes (or an array of bytes) using the ASCII.GetBytes() function; can you please explain further, maybe showing me an example of exactly what you mean, if it’s not too much trouble? In my code, I figured that since I started out as an...
  6. M

    Network Stream => Memory Stream => Image

    The part you said about the position is correct, but that is before reading the stream into a buffer. I ran into that error. That code is just the receiving end, so it is not actually sending anything. After saving the image into a memory stream, I call this method to send it: Public Sub...
  7. M

    Network Stream => Memory Stream => Image

    Thank you, you were right about the image size not being the same. I can’t believe I did not pick it up. I guess client.GetStream.DataAvailable = False is unreliable for data transfer. So here is the new code incase anyone is interested, and for future reference: Private Sub...
  8. M

    Network Stream => Memory Stream => Image

    I am trying to send a large image through TCP sockets, but I seem to have hit a dead end. I am writing the network stream into a memory stream and from there I am try to create an image from that stream but I keep getting this exception: I don’t understand what’s causing it or how to remedy it...
  9. M

    Sockets for sending/receiving mouse movement

    Asynchronous is the most accurate way one can go about using sockets. Maybe your probably is not in the sending or receiving, it could be some unknown factor in you code, perhaps the way your getting and setting the coordinates. Loops will also slow down the application, try threading (assuming...
  10. M

    HttpWebRequest freezing GUI after 3 GetResponse() calls!

    Hello, I am having some problems that I really need help on. I created a class that can retrieve a webpage. Actually there are two functions, one which brings back the web page and another that just process the URL to send info to a waiting CGI program written in php, using the GetReponse()...
  11. M

    HTTPWebRequest to php upload

    Thank you so much for your help. It works perfectly!
  12. M

    HTTPWebRequest to php upload

    I have a php scripts that allows upload to my web site. I was wondering if it is possible to upload to the script using HTTPWebRequest? I prefer using a web stream so that I can show the progress. I have paste the script below because no matter how many examples I try, they just don’t seem to...
  13. M

    how the form is being skinned?

    A thousand thanks to you! Your example works great, I’ll use that as a base to try and add the background image next.
  14. M

    how the form is being skinned?

    Good afternoon readers! I have tried mercilessly all day to understand how this code works. I thought I understood it, but after so many attempts, I have finally giving up. Could anyone of you take a look at this example and explain it to me. I just want to know how the form is being skinned...
  15. M

    Chat App Sample

    Try this one: http://www.vbdotnetforums.com/showthread.php?t=12469
  16. M

    How to Shutdown PC on Some given Time

    My example below uses the Win32 API call, ExitWindowsEX, to Shutdown, restart, logoff, and force shutdown any windows PC. I did not add any comments, but if there is something that you do not understands then let me know.
  17. M

    Sound Recorder

    Maybe Direct X. I am not too sure though.
  18. M

    Simple chatbox problem

    You might be getting that error message because your TCP Client does not connect to the Server unless you push Send. It is a little wired how you have it set up. Every time the Send button is pushed, it will create a new connection, send the texts, and then immediately shut down. If you had an...
  19. M

    STAThreadAttribute Exception!

    Ok, I have added the code to its own thread and I am still getting that exception. I even commented out the “with” and “select case” statements to keep it simple, but it is no good. Have a look. Private Sub OnRead(ByVal AR As IAsyncResult) Data = TCPC.GetStream.EndRead(AR) Message =...
  20. M

    STAThreadAttribute Exception!

    That makes sense, but why? Does anyone know the reason why I can not call it from within the same method? Oh, and I started this project in 2005. Thanks again.
Back
Top