Solved

printing a jpg from my app

Posted on 2000-03-16
4
154 Views
Last Modified: 2010-05-02
i want to print a jpg image from my app. how can i do it?
thanks
0
Comment
Question by:Sankar030999
  • 2
4 Comments
 
LVL 2

Expert Comment

by:johnny6
ID: 2626725
Here is the solution for you in VB Code
http://www.vbaccelerator.com/codelib/gfx/vbjpeg.htm

John
0
 
LVL 2

Expert Comment

by:johnny6
ID: 2626734
Scratch that last comment.  I misread the question.
0
 
LVL 5

Accepted Solution

by:
KDivad earned 25 total points
ID: 2626901
Load it into a picturebox and use Printer.PaintPicture
0
 
LVL 9

Expert Comment

by:Ruchi
ID: 2637831
Printer.PaintPicture Picture1.Picture, 0, 0, Printer.Width, Printer.Height

or

Printer.PaintPicture Picture1.Picture,
0, 0
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question