Hi,
You can try something like this, but it have to be registred or netloaded via acad.lsp to be loaded at each AutoCAD session start.
{code}using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.Runtime;
namespace DocumentCreatedEventSample
{
public class Welcome : IExtensionApplication
{
private DocumentCollection docMan = Application.DocumentManager;
public void Initialize()
{
docMan.DocumentCreated += new DocumentCollectionEventHandler(docMan_DocumentCreated);
DoIt();
}
public void Terminate()
{
}
void docMan_DocumentCreated(object sender, DocumentCollectionEventArgs e)
{
DoIt();
}
private void DoIt()
{
Application.ShowAlertDialog(
"Welcome and have a nice day working on this drawing.");
}
}
}
{code}