Community
Dim lMan As LayoutManager = LayoutManager.Current
lMan.CurrentLayout = LayoutBox.Text
Is the code you pasted in a button click event on the form? If so, this could be the probem. Try adding a Sub in the main class with a command method. I always do this anyway, and the forms only send strings to execute to the drawing. That way, the user has the option of using the command line instead of the UI you provide - but in your case this may not be a viable solution.