Active Member
Posts: 10
Registered: ‎03-08-2006
Message 1 of 1 (50 Views)

BeginExit event

50 Views, 0 Replies
09-12-2006 01:11 PM
Working on a VB.net 2005 exe that instantiates AutoCAD 2004 or 2005. Our app requires acad.exe to always be running. WithEvents is being used during the instantiation and the BeginExit event calls another procedure that closes the drawing(s), sets visible to false, and sets Cancel to True. This works for AutoCAD 2004 but the same vb.net code does not work for AutoCAD 2005 so when the user opens a drawing from windows explorer, then closes AutoCAD, acad.exe ends. Does AutoCAD 2005 behave differently for some reason or am I doing something wrong? Thanks.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.