[dba-VB] VB.Net - Option Strict disallows implicit conversion

jwcolby jwcolby at colbyconsulting.com
Thu Jul 19 09:59:47 CDT 2007


I operate under Option Strict.  I have a situation where I am trying to use
code from a book.  That code assigns an object type to a class, i.e.

Dim lcls as clsSomething = SerializeData(...

SerializeData returns an object.  

How do I cast Serialize data to return a type clsSomething so that I don't
get the "option strict disallows..." error message? 

John W. Colby
Colby Consulting
www.ColbyConsulting.com 




More information about the dba-VB mailing list