Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Kodak/Wang Imaging OCX's

Posted on 1998-09-09
10
Medium Priority
?
820 Views
Last Modified: 2012-06-21
Hi,
How come i can't select a thumbnail when using the IMGTHUMB.OCX i have tried the Kodak and Wang version. Also, how come when i move my app another system. (the other system has the same controls (kodak) that i used to make the app) it requires me to insert the controls again?  i know your not supost to distrubute these controls, but they do come with windows so if i distrute my app i would like it to take advantage that these controls are allready on the users machine (if they have installed imageing) last question: what is the diffrence between Kodak's controls and Wang's controls?  Any help would be great!
0
Comment
Question by:Jambyte
[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
  • 4
  • 4
  • 2
10 Comments
 
LVL 14

Expert Comment

by:waty
ID: 1433974
For the Thumbnail, I don't have any idea. You should contact the support team.

The main difference between Kodak and Wang control is the way they save tiff files.

The files saved by Wang can not be read under Unix, but Kodok does it. I don't remember the both formats.
0
 
LVL 2

Author Comment

by:Jambyte
ID: 1433975
anyone else have info on this?
0
 
LVL 14

Expert Comment

by:waty
ID: 1433976
The answer was not good (partially)?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Author Comment

by:Jambyte
ID: 1433977
you basicly told me everything i allready knew. my main question was how come i can't select the thumbnail's.
0
 

Expert Comment

by:thomfl
ID: 1433978
Assuming you are using the Wang Edit Control to display the image, have you put something like this in the Thumnail_Click event?
Private Sub ImgThumbnail1_Click(ByVal ThumbNumber As Long)
    ImgEdit.Page = ThumbNumber
    ImgEdit.Display '*If you have imgEdit control AutoRefresh   Property set to False
End Sub

0
 
LVL 2

Author Comment

by:Jambyte
ID: 1433979
no i didn't im not using the edit control.  i have come to the conclution that only the Registered version of Windows Imaging will alow you to select thumbnails and put a boarder around the selected thumbnail. Thank you both for your help.
0
 

Expert Comment

by:thomfl
ID: 1433980
I use the "vanilla" Wang control all the time... never have problems with the Thumbnail control.... even Annotation Images or custom Caption formats.... the ThumbSelected property and DeselectAllThumbs methods (as well as all others) also work..

object.ThumbSelected[PageNumber][={True|False}]

Setting to True puts a border around appropriate thumb

Good luck


0
 
LVL 2

Author Comment

by:Jambyte
ID: 1433981
thomfl yeah that works.  can you help me make a rutine that selects Thumbs and, alows selection for multi thumbs when the user holds down shift? i can't get it to unselect and select muti selection to work. im using the IMGTHUMB.OCX by the way.
0
 

Accepted Solution

by:
thomfl earned 100 total points
ID: 1433982
Jam,

Not aware of any easy "Multi-select" using Shift and such, but

in the Click event of the Thumb control...

LPARAMETERS thumbnumber
this.ThumbnailSelected(thumbnumber) = ! this.ThumbnailSelected(thumbnumber)

this will toggle the Selection (and the "highlight" if HighlightSelectedThumbs is true) for the Thumb... click on as many thumbs as you need to select... click on a thumbnail again to "deselect"...


0
 

Expert Comment

by:thomfl
ID: 1433983
Sorry about last post... i was just answering FoxPro questions, and the Fox syntax moved in

Concept is the same in VB.....

Set the thumnail ThumbSelected(thumbnumber) to the boolean NOT of it's present condition.
imgThumbnail.ThumbSelected(thumbnumber) = _
   Not(imgThumbnail.ThumbSelected(thumbnumber))

Sorry for the blunder.
Any help?

0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
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

670 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