Solved

Kodak/Wang Imaging OCX's

Posted on 1998-09-09
10
765 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
  • 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
 
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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 50 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

708 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

15 Experts available now in Live!

Get 1:1 Help Now