my code :
InfoFichier = New FileInfo(Txt) 'enregistrementdwg.Database.SaveAs(Txt, DwgVersion.Current)
'vérification si fichier existe bien !If InfoFichier.Exists = True Then dwg.CloseAndDiscard()
i have buid with framework 3.5.
This code work fine with Autocad v2010 but i have a exception with Autocad v2009. (same .dll)
I have try another DwgVersion.AC1014 and other but it crash always on the SaveAS.
Can you explain this ?
PS : I need to have the same .DLL. (At work, i have computers on Autocad 2009 and v2010). And i dont know how to programm ths VS project for multi buid.)
Go to Solution.
dwg.Database.SaveAs(strDWGName, True, DwgVersion.Current, _ dwg.Database.SecurityParameters)
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.