M
mp
Should that be on or off? (i know, dumb question)
I'd assume on, but then so many things break looks like it will take long
time to rewrite existing prog.
example:
Option Strict On disallows implicit conversions from 'Object' to
'Autodesk.AutoCAD.Interop.AcadApplication'.
but the variable wasn't declared as Object it was early bound
Private m_AcadApp As AcadApplication = Nothing
....then later
Private Function GetAutoCADInstance() As AcadApplication
Try
m_AcadApp =
Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication
Catch ex As Exception
End Try
Return m_AcadApp
End Function
sorry but i don't see the implicit conversion
thanks for any info
mark
I'd assume on, but then so many things break looks like it will take long
time to rewrite existing prog.
example:
Option Strict On disallows implicit conversions from 'Object' to
'Autodesk.AutoCAD.Interop.AcadApplication'.
but the variable wasn't declared as Object it was early bound
Private m_AcadApp As AcadApplication = Nothing
....then later
Private Function GetAutoCADInstance() As AcadApplication
Try
m_AcadApp =
Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication
Catch ex As Exception
End Try
Return m_AcadApp
End Function
sorry but i don't see the implicit conversion
thanks for any info
mark