Utilizing file thumbnail view feature?

Discussion in 'SolidWorks' started by What-a-Tool, May 8, 2005.

  1. What-a-Tool

    What-a-Tool Guest

    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)
     
    What-a-Tool, May 8, 2005
    #1
  2. What-a-Tool

    TOP Guest

    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.
     
    TOP, May 8, 2005
    #2
  3. What-a-Tool

    Tony Guest

    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
     
    Tony, May 8, 2005
    #3
  4. What-a-Tool

    What-a-Tool Guest

    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)
     
    What-a-Tool, May 10, 2005
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.