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.
Maitland, NSW, Australia
Windows 7 Enterprise 64bit
Intel core i7 2600 @ 3.40 GHz with 16GB Ram
Civil 3d 2013 64bit