Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to return variable type at runtime????????? 1

Status
Not open for further replies.

louie728

Programmer
Feb 4, 2004
27
US
Hello all,

I would like to know how to return a variable type at runtime in vb .net. I am used to programming in Foxpro and I would do something like:
TYPE(cExpression) which would return the datatype of its contents. If it is an object would return "O", character "C" and so on. Any help would be appreciated.

TIA,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top