Hi gurus,

I am new to .net and augi.

Can somebody provide the .net versions of the following Classic VB expressions

Public WithEvents AcadApp as Acad.Application
Dim AcadDoc as Acad.Document

Sub Main()
Set AcadApp = New AcadApplication
AcadApp.Documents.Open "c:\test.dwg"
Set AcadDoc = AcadApp.ActiveDocument
AcadDoc.SendCommand "e all _qsave"
AcadApp.Documents.Close
Set AcadDoc = Nothing
AcadApp.Quit
End Sub