Message 1 of 5
Raster image viewer control (TIF support)

Not applicable
05-18-2005
04:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The standard VBA Image control can display BMP, JPG, and GIF files,. It unfortuately cannot handle TIF files, which we use extensively.
While shopping for some (inexpensive) ActiveX raster viewer controls on the web, it occured to me that AutoCAD can view TIF files in its "Select Image File" dialog (see attachment).
Now since all the end-users of my programs already have AutoCAD, I figured that I could reference the same viewer control that AutoCAD uses in my program - No need to distribute and register a dependency file. I have done this with other AutoCAD-based controls (ObjectDBX, FocusControl, etc).
So then, what control is AutoCAD using? Is it part of the software? Can it be referenced? Is it part of the OS? (Windows XP in our case).
Any idea?
Mark Sanchez
While shopping for some (inexpensive) ActiveX raster viewer controls on the web, it occured to me that AutoCAD can view TIF files in its "Select Image File" dialog (see attachment).
Now since all the end-users of my programs already have AutoCAD, I figured that I could reference the same viewer control that AutoCAD uses in my program - No need to distribute and register a dependency file. I have done this with other AutoCAD-based controls (ObjectDBX, FocusControl, etc).
So then, what control is AutoCAD using? Is it part of the software? Can it be referenced? Is it part of the OS? (Windows XP in our case).
Any idea?
Mark Sanchez