Display bitmap preview
Display bitmap preview
(OP)
Is it possible to extract and display the bitmap preview of a part or assembly from a VB6 exe program? There is some information in the SW API help but it's a bit confusing (or I don't like what it says).






RE: Display bitmap preview
Download the demo sample from here.
http://w
Good Luck!
Alex
RE: Display bitmap preview
I don't know enough about this to know if it's even possible, though.
RE: Display bitmap preview
RE: Display bitmap preview
You can always assign keyboard shortcut keys, and send command from vb using "Sendkey" statement to execute macros.
Alex
RE: Display bitmap preview
1. Using your VB program, write the file path from which you want to extract the bitmap to a temporary text file.
2. Call the SW macro, which reads the same text file to get the file path
3. Use the SW macro to get the bitmap (as shown in the examples) and save it to a temporary bitmap file with a SavePicture statement
4. Open the picture with your VB program from the temporary bitmap file.
This might work...
RE: Display bitmap preview
Alex
RE: Display bitmap preview
http://
This file includes the dll wrapper (SW_ExtractBitmap.dll) that I didn't realize had already been written.