type Casting problem

george antony <[email protected]> Wed, 19 Jun 2002 05:02:34 -0700
Newsgroups gmane.comp.windows.devel.dotnet.general
Message-ID <[email protected]>
hi
can any one tell me how to type cast a string into
type object..

e.g

dim mystr as string
mystr="System"
dim mytype as Type
mytype=gettype(ctype(mystr,type))

this gives me invalid type casting
pls help

thanks
george



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.