查看单个帖子
旧 2009-04-12, 10:30 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】string for dwg preview

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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)