What you show never worked, at least not as it
was posted.
You're confusing a type, with an instance of a
type. You're passing a type as the security params,
not an instance of the type.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
wrote in message news:5612704@discussion.autodesk.com...
I'm trying to save my AutoCAD drawing using the SaveAs function in AutoCAD 2007 and VS2005.
In AutoCAD 2006 and VB2003 I used:
strFile = Dwg.FullName.ToString()
Dim acadSaveAsType As Object = Dwg.AcSaveAsType.acR18_dwg
Dwg.SaveAs(strFile, acadSaveAsType, Autodesk.AutoCAD.DatabaseServices.SecurityParameters)
This worked without issue but now I'm getting and error indicating that the SecurityParameters are a type and not an object.
Can anyone tell me what object I should be using?