When I try the example code from here http://help.solidworks.com/2012/English/api/swdocmgrapi/Get_Preview_Bitmap_of_Drawing_Sheet_Example_VBNET.htm in line "pPreview = swDoc10.GetPreviewBitmap(nRetVal)" I get the error "Class is not licensed for use 0x80040112".
I don't know what to do. Can anybody help?
SolidworksApi macros