Solved

Kodak/Wang Imaging OCX's

Posted on 1998-09-09
10
775 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

920 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