Utilizing file thumbnail view feature?

Have an Access database set up as a file orginization/ search utility. Have it linked to SolidWorks to perform several different functions.

As of now, my files are all displayed in a list box. what would be nice is if I could display a thumbnail image of my SolidWorks file on the same form, when a file is selected in my list box(the way it is shown in the SW open file dialog box when a file is selected, or the way WindowsExplorer display SW files in thumnail view).

Is tyhis possible? Can't find anything in API help.

Reply to
What-a-Tool
Loading thread data ...

Seems like somebody posted a macro that would do this in conjunction with something else. My memory fails me as to what the topic was.

There is also an example on the

formatting link
in the API support section.

Reply to
TOP

Sean,

There are two dlls that you can use to do this. The one I prefer is called sldworks_extractbitmap.dll. I use this from VB6 to create a bitmap file of the then display the bitmap in an image control on a form. You should be able to do the same in Access. You'll probably want to name the bitmap files the same name so the old one is replaced each time. This limits the number of junk files created.

Let me know if you can't find the dll and I'll send it to you.

Good luck.

Tony

Reply to
Tony

Thanks for the replies.

Found the API example - It's one of the C++ examples - I'm a VB person, and no expert at that, so it wasn't a lot of help.

Tony - thanks for the offer - if you could send me that dll it would be great.

snipped-for-privacy@cox.net

Wouldn't have a code snippet or pointer to an example on how to access its properties, would you? If not, thank you for the help you've already given.

Reply to
What-a-Tool

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.