I recently installed ACAD 2010 after using 2009 for a year. One homemade application, written in VB6 has worked perfectly in ACAD2009, but in ACAD2010 I get an error message which I don't know what to do with. The error message is "AutoCAD main window is invisible". Upon debug, the line of code which is tripping it up is: "AutoCAD.Application.ActiveDocument.Utility.GetEntity OBJPICK1, VAR1, STRPROMPT1
OBJPICK1 is dim'd as AcadBlockReference
VAR1 is dim'd as Variant
STRPROMPT1 is dim'd as String
Note: the AcadBlockReference datatype is not the same as the others (not blue); it may not be a valid data type. (How do I determine that?)
The main question is about what is causing the application to not work in ACAD 2010 and tell me the the ACAD main window is not visible?
Any ideas?
Thank you,
Erik
OBJPICK1 is dim'd as AcadBlockReference
VAR1 is dim'd as Variant
STRPROMPT1 is dim'd as String
Note: the AcadBlockReference datatype is not the same as the others (not blue); it may not be a valid data type. (How do I determine that?)
The main question is about what is causing the application to not work in ACAD 2010 and tell me the the ACAD main window is not visible?
Any ideas?
Thank you,
Erik