Search results for query: *

  1. B

    A way to print RTF text over image?

    Ahhh...I just got it! I did not see the download on the page...I was not making the connection. Got it now! Thanks!
  2. B

    A way to print RTF text over image?

    Ok, so what you are saying if to make a class that inherits the richtextbox. Once I do that, add it to the form. Then, I can do a button click event with this in it: Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  3. B

    A way to print RTF text over image?

    But, shouldn't that code I posted last work? It is an exact copy of the example you showed me. I dont think I am quite as experienced as you think. Can I not have this code in a button click handle?
  4. B

    A way to print RTF text over image?

    Hmmm....something isn't right. I basically copied and pasted the code into a simple form to start from scratch. It has a button, richtextbox, and a picturebox. When the button is clicked, the image is supossed to show up in the picture box with the text from the richtextbox displayed over it...
  5. B

    A way to print RTF text over image?

    I am having some trouble with this. The code you showed me is for graphics, and I am using it with PrintPageEventsArg. Most documents are multiple pages and it knows when to stop printing by CheckPrint. Well, checkprint is always 0 and it keeps going on forever if I substitute your method into...
  6. B

    A way to print RTF text over image?

    i know this sounds stupid, but where in the code would I use makeTransparent? I cannot figure out where the text is even being draw, I am new a Marshall stuff.
  7. B

    A way to print RTF text over image?

    ...= charTo ' Calculate the area to render and print Dim rectToPrint As RECT rectToPrint.Top = e.MarginBounds.Top * AnInch rectToPrint.Bottom = e.MarginBounds.Bottom * AnInch rectToPrint.Left = e.MarginBounds.Left * AnInch rectToPrint.Right...
  8. 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...
  9. B

    Application.DoEvents is freezing app

    me.refresh did the job. Thanks!
  10. 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...
  11. 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?
  12. B

    "Value does not fall within expected range"

    No luck there. I have tried everything. I am using the exact same code to send the image from a filestream, and it works...but the same code pulling from a picturebox does not work. I don't know what it would be. Any ideas?
  13. B

    "Value does not fall within expected range"

    Yeah, it is simple..I am on my PDA, but here it goes; dim bmp as new bitmap(picturebox1.image) bmp.save(tcp.getstream, imaging.imageformat.bmp) seemslike it would work just the same.
  14. B

    "Value does not fall within expected range"

    ahh....I was actually getting this error when saving it to the stream. I thought it was just the image format in the picturebox image, or that its header was lost. I was saving images to the stream, just like you showed me. Works great. Then I tired to save the picturebox image to a stream by...
  15. 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.
  16. B

    image through stream

    ok, I was using the bmp format, and for some reason it works perfect now that I changed to jpeg format. it works great. thanks.. it is tough posting from my phone..I am ata convension.
  17. B

    image through stream

    I am just having bad luck.CF does not support image.fromstream...so, I am going to have to use the old filestream I was using before, I think. one thing I tried was creating the thunb bitmap from the filestream and then saving it to a memorystream...but the client would throw the "not expected...
  18. B

    image through stream

    That is cool, the only problem is my client is not reading it. How would I open an image that has been saved to the stream? This is what I was using, and it does not work: Dim buffer(8092) As Byte, readstotal As Long = 0 Dim reads As Integer = -1 'using filestream to write...
  19. 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...
  20. B

    shrink an image in filestream?

    Can you show me what you mean? I did not know GDI could do this with a file stream.
Back
Top