|
string for dwg preview
the vb code for the solidworks files preview could be something like that :
dim extractor as sldworks_extractbitmap.sldworks_extractbitmap
dim nerrors as long
set extractor = new sldworks_extractbitmap.sldworks_extractbitmap
nerrors = extractor.extractbitmap(percorso5, "c:\file.bmp", 297, 210)
if nerrors = 1 then
abcdefg = "c:\file_vuoto.bmp"
else
abcdefg = "c:\file.bmp"
band1 = "1"
end if
ole1.visible = false
image1.visible = true
image1.picture = loadpicture(abcdefg)
i would like to know the library name to load and the string code for the dwg preview.
thanks
quick |
|