Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

printing a jpg from my app

Posted on 2000-03-16
4
Medium Priority
?
171 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 100 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

926 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