Solved

printing a jpg from my app

Posted on 2000-03-16
4
149 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now