Search results for query: *

  • Users: bonedoc
  • Content: Threads
  • Order by date
  1. B

    A way to print RTF text over image?

    Ok, I just cannot find a way around my problem. It seems like there is some limitation no matter what I try. I had some code that would print text over graphics. Well, I wanted to be able to change fonts and colors and save as an RTF, so I changed the textbox to a RichTextBox. Because I did...
  2. B

    VISTA and Jet Access problems...

    Ok, I have an app that has run on my XP computers for years. Not a single problem at all. Well, I just added a new computer to the network, and it is running 32 bit VISTA. The program accesses a database over a wireless network, so all computers share the same database through the network...
  3. B

    Application.DoEvents is freezing app

    Ok, I have a process where I am getting a screenshot of a form. I wanted to make a button on the form invisible when I took the image, so I make it's visible property false before and then true after the image is taken. Well, it was working occasionally, but sometimes I can see the button on the...
  4. B

    A way to make a datarow unique?

    I have a datagrid that has multiple rows. Is there an easy way to make each row unique to let the user know what row is what? I was thinking of text in the datagrid row or coloring the cells. Any ideas?
  5. B

    "Value does not fall within expected range"

    I am tryng to save an image from a picturebox like this: picturebox1.image.save("Path") and I keep getting the "Value does not fall wthin expected range" error. Does anyone know what this is? It seems like the image would be valid if the picturebox is showing it.
  6. B

    image through stream

    Thanks John, I am trying to send this image in through a tcp stream, like you showed me earlier. It is all working awesome, but I thought I could make the images smaller to speed things up 9because it is going to a handheld device). With the example you showed me, you were writting to the tcp...
  7. B

    shrink an image in filestream?

    If I have an image in a filestream, is there an easy way to cut its size into a quarter? Can someone give me some ideas if so?
  8. B

    Get a portion of an image?

    If I have a picturebox and want to capture the lower right quarter of it, what do I need to do? I cant seem to figure it out for the life of me. For some reason, I can only create an image that is a quarter of the size of the image, but it is always from (0,0). Dim r1 As New Rectangle(x2, y2...
  9. B

    Convert a RTF to string?

    I am trying to convert the text of a RTF file to a string. When I do it with a file stream, all the RTF characters are all over the place. So, I decided to just open the doctument in a RichTextBox. Well, this works, but all of the Tabs are gone. In fact, I dont believe the NewLines are even new...
  10. B

    Canvas is blank....why?

    I have a picturebox that I want to draw graphics on/over (pencil tool). I create a canvas that contains the picturebox image and size, and I draw on that. Well, The drawing appears fine, but the image that I set into the canvas does not appear when I let the mouse up. It is like the image is not...
  11. B

    Way to remove keyboard on screen?

    I have no main menu in my app. When I debug, there is no keyboard on the screen. However, when I actually use my program, the keyboard icon appears at the bottom of the screen. Is there a way to shut this off with code? It is in the way of my controls.
  12. B

    Trouble with tcpListener in CF

    I am trying to do a file transfer between my desktop and my Treo in CF. It works perfect when plugged to the USB. When I unplug it and communicate through the Treo internet service, it properly sends signals to my computer using a DNS address and Port number. Once it sends it's request and...
  13. B

    Strange IP address format?

    I am using: Dim h As System.Net.IPHostEntry = System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName) lblIP.Text = h.AddressList.GetValue(0).ToString to get my IP address. I am getting this format returned: I guess this is IPv6 format? I am doing some TCP stuff, and every time I try to...
  14. B

    getting IP address?

    I am trying to set up a listener on a port. Well, I can't figure out what IP to use. I went to canyouseeme.org, and the IP it provides does not seem to work. Is there an outsire(router) and inside address on these machines?
  15. B

    forum on Mac?

    Thanks John. I saw this link once and tried to download it. It says it is a zip file, but it downloads as a .php file. Am I doing something wrong?
  16. B

    send data through networkstream

    I have a text byte array and an image byte array. I need to add them together into a stream to be read later, and I just cant figure out how to combine them. Right now, I add the header text to a buffer, and then the image to another buffer. I then write those to a memory stream. After this, I...
  17. B

    How do you loop a listener?

    I have a server that listens for incoming data on port 500. After it reads, however, it stops listening. What do I need to do to make it start listening again after it processes its first listen? Right now, I just have a listener upon the form load.
  18. B

    What if RecievedBufferSize is too small?

    I am reading images from a stream. Many of them are bigger than 8193, and I am calculating the buffer size by the .RecievedBufferSize property. This cuts the image off if it is too big. What can I do to get a proper size? Do I just create a huge buffer and hope it covers it?
  19. B

    Trouble sending image over stream

    I am having trouble sending a file from my server to my client. At first, the client was only recieving 8192 bytes. I finally figured out that the image was not showing because the first 8192 bytes were being read, when it was 10000 bytes. So, I created a "Do Until Not...
  20. B

    Need small project asap

    I have a small project I need to have done soon, and I can't do it right now. It is not for school or anything, just personal stuff I need. I know there are a ton of cool people here that have offered me some good advice, so if someone wants some side money I would rather see someone here get it...
Back
Top