Re: Report Layout



Still struggling with this. Yes I can convert the image to a .bmp. It
still looks absolutely huge in my picturebox. The image is 24MB as a bitmap
and everything (photoshop, paint, visual studio) I try to edit it in gives
me an "out of memory" error. If I try to "stretch" the image the "out of
memory" occurs during design time. Why am I stretching the image anyways?
I want to have an exact replica of the original document, not some
misproportioned image. I have 1 GB memory in this PC and no other programs
running, but it is infact sucking all my resources. Why is it so difficult
to get a word document to display on a visual basic form - they're both MS
products, you'd think there would be some compatibility rather than going
through 14 conversion steps and still failing to work. Any other
suggestions appreciated greatly. (pulling out whats left of my hair)

Thanks.


"GhostInAK" <ghostinak@xxxxxxxxx> wrote in message
news:be1391bf194058c8ab97d76cbc0c@xxxxxxxxxxxxxxxxxxxxx
Hello Ryan,

Yes. Why don't you have a peek at the picturebox properties. Also, any
decent graphics package will change the resolution.

-Boo

Thanks. The image quality is much better now. However, it's still
showing up in my Form as way to big. I think this is due to the
resolution. The .bmp file is 300x300 dots per inch. It must be
displaying in my picture box at something like 100x100 dots per inch.
Is there anyway to modify the PictureBox so that it displays
correctly?

Ryan

"GhostInAK" <ghostinak@xxxxxxxxx> wrote in message
news:be1391bf193eb8c8ab92ab6ab3ac@xxxxxxxxxxxxxxxxxxxxx

Hello Ryan,

Print the original MS Word file to the MS Document Imaging printer.
This will produce an MDI file which can then be saved as a TIFF.
From there any decent graphics package can convert it to any format
you desire.

-Boo

I am writing a VB (2005) program that will allow the user to fill
out and print a form. The form input is stored in a database (SQL
2005) to be retrieved/viewed/printed later. The form is originally
a Word Document, I also have this form as a PDF. Appearance and
quality is critical for this form.. so what I thought I'd do is
convert the form to a bitmap, use a picture object on my VB form and
overlay textbox (no border) controls on top of the image so the
appearance remains exactly the same. I'm having problems getting
the document to bitmap format however.. PDF only gives the option to
save as a JPG, which is obviously reducing the quality (there's some
fuzziness around the letters) and the image size ratio is not right
- on my VB form, a small portion of the document (the top left
corner) fills the screen.. it's much too large. The letters are at
least double size what they should appear.

Any suggestions how to go about making this form work in my VB
application without reducing the quality? Thanks,

Ryan





.



Relevant Pages

  • Re: Report Layout
    ... If yer using report creator, just recreate the form and be done with this sillyness with pictures. ... word document to display on a visual basic form - they're both MS ... Why don't you have a peek at the picturebox properties. ... Appearance and quality is critical for this form.. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: pallette corruption in .NET Picture box
    ... Midge wrote: ... note that when I place a BMP in a picturebox on my form, there is some palette corruption when this is run on the device. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: How to save pictureBox to a file ?
    ... What you want to do is instead of drawing on the pictureBox you want to create ... Image bmp = pictureBox1.Image; ... Object reference not set to an instance of an ...
    (microsoft.public.dotnet.languages.csharp)
  • picturebox problem
    ... I have developed an app. ... On Form1, there is a picturebox containing a bmp. ...
    (microsoft.public.pocketpc.developer)
  • pictureBox problems about image file
    ... How Can I Save The pictureBox To *.jpg or *.bmp ... Prev by Date: ...
    (microsoft.public.dotnet.framework.compactframework)