Not applicable
07-31-2012
09:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.StartUserInteraction(Me)
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)?
Thanks.
Solved! Go to Solution.
Link copied