I am working on a routine in AuoCAD 2013using VB.net:
open a template drawing from reference folder > Save to out folder > create entities on the drawing.

The problem I am facing is that when I open the drawing it does remain activated. I can see the template being opened. but as soon as it opens it hides behind the default drawing "Drawing1.dwg".

Can some one guide me to solve this issue.