I'm trying to update some VB.Net code for AutoCAD 2013, and am slowly slogging my way through the API changes. Here's one I haven't been able to figure out yet:
The following line worked in pre-2013, but not anymore...
Dim eui AsEditorUserInteraction = Application.DocumentManager.MdiActiveDocument.Editor.StartUse
I get this error in the editor...
Error 12 Value of type 'IECAD.fSymbols' cannot be converted to 'System.IntPtr'.
IECAD.fSymbols is a form in my application, and the error references the Me in my statement. What is the current correct way to activate a form while allowing for user interaction (like picking a point)?
Solved! Go to Solution.
Thanks for posting your solution.