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. -- / Sean Mc / "I have not failed. I've just found 10,000 ways that won't work." - Thomas Alva Edison (1847-1931)
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 www.solidworks.com in the API support section.
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
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. 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. -- / Sean Mc / "I have not failed. I've just found 10,000 ways that won't work." - Thomas Alva Edison (1847-1931)