I don't understand what you are asking? What are you trying to do? What is the issue? Usually in
VB you don't cast. You can declare an object as whatever you want and set the object as you need. It is best if you will need to change the object type to declare the object as object and then set it as needed always setting to nothing in between object types. Does this help a little?