Solved

Kodak/Wang Imaging OCX's

Posted on 1998-09-09
10
785 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Validating VB6 Function 19 59
VBA filters 2 61
Help me. 3 55
Excel Automation VBA 19 71
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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 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…

778 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