Results 1 to 3 of 3

Thread: type data type <found alternate solution>

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member dogfish227's Avatar
    Join Date
    Oct 2002
    Location
    GA
    Posts
    409

    type data type <found alternate solution>

    is their any way to declare a variable to the type that is stored in a Type varaible.

    its easier to explain with code

    VB Code:
    1. dim t as type
    2. dim a as textbox 'or any thing else
    3.  
    4. t = a.gettype
    5.  
    6. dim b as t 'it not happy with this line (Type t is not defined)
    so the above code should dim b with the same data type as a

    so it that possible to do and i just am doing it the wrong way?
    Last edited by dogfish227; May 23rd, 2004 at 10:07 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width