Results 1 to 3 of 3

Thread: Placeable Metafiles

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Posts
    2

    Placeable Metafiles

    I am writing a database aplication, that will load and print the appropriate Metafile when selecte. It is a mapping application so mefiles are a must, but when I try to print the metafile, (even in other applications,) it only will print a small preview like version of it in the upper left hand corner of the screen.

    I would like to know why this is happening, and how I can fix it

    Thanks for your attention

    John Messenger

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Are you storing and displaying your Metafiles in a Picture box?

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Posts
    2
    Yes, I am. I am sorry that I didn't mention that in my earlier post.

    Allow me to be more descriptive, the application uses a database file to match coordinates to the metafile of the same name, and open it on request. the metafile is opened in a picture box on another form, and that form has a print button that sends the file (I hope) to the Printer Object, and then calls the common print dialog so that you can chose a printer. Then completes the print cycle. Now I am not an expert (obviously) with VB, and I am using VB 5 Learning Edition. I have only written a couple of database programs, and have never had to use print features before so that is new as well. I am however using a picture box to capture the MSFlexGrid.Picture output and print it successfuly, so it seems I have the basics of the print method right.

    The Printer Object Code I am using is not long, and if it would be helpful I could post it here as well. But, and interesting note here, When I insert the metafiles into Microsoft Publisher 2002 or WordPerfect 2000 either one, it prints only the little preview as well. I have also placed a bitmap of one of my maps into the picture box and it did print ok.

    Thanks for your interest

    John Messenger

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width