a nudge in the right direction
We are creating a database that needs to read folders and see which files there are in. In addition to that we would like to extract a thumbnail form the file it finds in the folder. the files have the extensions rfa and rvt (Revit = CAD program) The windows explorer shows thumbnails of the files. I tried a program from vbaccelerator and that could extract a thumbnail for such a file but I couldn't turn it into a jpg for example.
My question is should I continue looking for a vb solution or are there other languages who could do this for me. The end result should be that I have a separate thumbnail image for every file in the directory.
thank you for your time.
Re: a nudge in the right direction
Without knowing the details of that file format it's hard to say, but you could probably convert that VB6 program to VB.NET and then save to image as a JPEG.
Folder searching is simple, with VB and .NET both providing methods to perform a recursive file search in one line of code. The issue with those methods is that they fail if an inaccessible folder is encountered. That means you cannot search your entire system drive that way. Writing your own recursive file search method would take no more than about 10 or 15 lines though, so it's not a big deal.