I am porting some AutoCAD VBA to VB.Net.
Several of the modules do a ThisDrawing.SendCommand("_color" & vbCR)
to popup an AutoCAD color picker, then process the response by doing a ThisDrawing.GetVariable("CECOLOR")
to get the selected color.
With .Net, the SendCommand does not execute until the program ends.
How can I get the AutoCAD color picker to execute inline in my code?