Addin in vb.net

For those who write addin in VB.NET
Do you turn "Option Strict" on or off?
if it's on, then

swApp = CType(CreateObject("SldWorks.Application"),SldWorks.SldWorks)

instead of:
CreateObject("SldWorks.Application")

Thx, ChrisSolidworksApi macros
Comments 1
SF
SF 2008-10-08
Option Strict just prevents automatic explicit casting ofobjects. By default C# and other languages have to cast objects tothe correct type, the exception is VB. If you turn the option on VBdoes not do it automatically so you have to cast it to the correcttype.