Search results for query: *

  1. 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.
  2. 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...
  3. 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()...
  4. 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...
  5. 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...
  6. M

    STAThreadAttribute Exception!

    STAThreadAttribute Exception! I really do not understand why I am getting this error. This is the exception that was thrown: “Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. This...
  7. M

    GUI and Skins

    How would I add the attached image to an app? I know I would have to set it as the background image, but how would I make it tell the right time? How could I edit the text at run time? I was thinking that I might have to recreate the image every time to keep up with the current track time and...
  8. M

    Editing a data-grid at runtime!

    Good afternoon! I need some help editing a data-grid table by adding a new row (s) to it. I’ am currently using the code below to create the data-grid, but I’ am having trouble updating it. Every time the routine runs, it will erase the previous row, which is my problem. PrivateSub...
  9. M

    Text inside a progressbar

    Can anyone tell me how to put text inside a progressbar? For example, I want to embed the current percentage value of the progressbar within it. Thanks in advance!
  10. M

    KB/Sec and hours/mins & seconds left?

    Good afternoon all! How do I work out the download speed in KB/Sec using TCP and Network Stream, Also how many hours/mins & seconds left? To find the time that is left, will this formula work (kb per sec * 60 sec / file size)? Is the size of KB/sec, the size of the “SendBufferSize”?
  11. M

    Accept multiple connections?

    I can program a fairly good UDP or TCP chat program. How would I go about making it able to accept multiple clients connecting to a single port? Code samples will be greatly appreciated. Nothing to complex please as I’ am still a beginner and don’t really understand asynchronous operations yet...
  12. M

    File Transfer; please have a look and help!

    Good morning all! I’ am having trouble getting this code to work properly. This is the client code: Dim IP As String = InputBox("Enter the IP address or hostname of you traget!", _ "IP Address", "127.0.0.1") Client = New TcpClient Client.Connect(IP, 1234) Dim NWStream As NetworkStream =...
Back
Top