sendstringtoexecute

sendstringtoexecute

Anonymous
Not applicable
315 Views
0 Replies
Message 1 of 1

sendstringtoexecute

Anonymous
Not applicable
Hi,
i Tried to open an dwg and make it to the mdiActiveDocument and after that i want to execute a command, but the command is always executed on the old document, not on the opened Document...

here a code sample
Document dwgDatei = Application.DocumentManager.Open(destinationfilename,false, null);
Application.DocumentManager.MdiActiveDocument = dwgDatei;
Application.DocumentManager.MdiActiveDocument.Window.WindowState = System.Windows.Forms.FormWindowState.Maximized;

maybe someone can help

MfG
Steffen Sameith
0 Likes
316 Views
0 Replies
Replies (0)