Article | 41023279 |
Type | HowTo |
Product | Converter |
Version | 4.0.5.1024 |
Date Added | 10/27/2003 |
Submitted by | Sheena Konikkara |
Keywords |
Try to save the drawing as DWG using the saveas method ( for ex: mobjDoc.SaveAs("test1.dwg", VdConstFileVer.VdCadVer2000))
You can see the dwg is not getting saved.
Similarly try to open an existing drawing. You will get the file error as VD_ERR_FILE_UNSUPPORTEDFILETYPE
In version 4.0.5.1024 and next releases a new DLL file with the name vdxfiles.dll must be in the same folder as vdpro.ocx, vdstd.ocx, or vdview.ocx.
This file is necessary for the VectorDraw component to open and save DWG and DXF files. This dll do not need register only to be in the same folder as the registered VDraw ocx.
The vdxfiles.dll must also be redistributed with your application. See also Redistribute Files version 4.0.5.1024 and up.