[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Free JPEG control ?

Posted on 1998-08-16
6
Medium Priority
?
270 Views
Last Modified: 2010-04-30
Is there any free or inexpensive(< ~$50) 32-bit custom control that can ;
1) View JPEG files;
2) print JPEG files in printer object;
3) (optional) provide thumbnail control;
4) (optional) support TWAIN interface.
In fact, the "Imaging for Windows" do all the things I want. Only that it doesn't support some JPEG format, e.g., files from Sony Mavica digital camera (see more at http://www.eastmansoftware.com/products/ImagingPro/Reading_Room/format.htm).

Thanks,
Henry
0
Comment
Question by:HenryChan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 8

Expert Comment

by:Answers2000
ID: 1429111
The Internet Explorer Browser control can do 1 and 2 with no problems and is free.  No thumbnails or twain though, but you said they were optional.
0
 

Author Comment

by:HenryChan
ID: 1429112
Answers2000,

  Are you talking about the library SHDOCVW.DLL? If so, can you give me some source of information on handling it. I can't found any help file associate with it.

Thanks,

Henry
0
 

Author Comment

by:HenryChan
ID: 1429113
Answers2000,

Please give me some comment as soon as possible, or I'll reopen it.

Thanks

Henry
0
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.

 
LVL 8

Accepted Solution

by:
Answers2000 earned 120 total points
ID: 1429114
yes.  

The doc's are in Microsoft Internet platform SDK.  All the sample calls referrer to IWebBrowser:: (this might show up in your help) and use C++ style conventions (you should be able to figure out the parameter types in VB, by typing the function control name, the ".", and the function name from C++ (minus IWebBrowser::)

To view a file, use code like:

Private Sub Command1_Click()
  WebBrowser1.Navigate "f:\loop1.jpg"
End Sub

The rest of the answer is coming (printing and some other methods, sorry no TWAIN or thumbnails)



To get you started, I did this
1. Create a form
2. Insert SHDOCVW.DLL as if an OCX on to my form (I had to right click on the component bar, and check "Microsoft Internet Controls" to get in the component bar).
3.

0
 
LVL 8

Expert Comment

by:Answers2000
ID: 1429115
Some other example calls (name should be obvious, same as IE functions)
  WebBrowser1.GoBack
  WebBrowser1.GoForward
  WebBrowser1.GoHome
  WebBrowser1.Refresh

Print:
  WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER

Is that enough to get you started ?


0
 

Expert Comment

by:xchaix
ID: 3375430
use wang inside you windows directory..

c:\windows\wangsamp\

it was an vb sample or imaging.. view,scan etc.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
Suggested Courses

656 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