tags:

views:

18

answers:

3

dim vkeys as tpkeys

above is a code but i dont understand what does it mean

+1  A: 

You're declaring a variable named vkeys that is of type tpkeys.

Jay Riggs
+1  A: 

Which part of that line don't you understand?

  • Dim means declare a new variable and tell the compiler which type (class) it is.
  • vkeys is the name of the variable, which is an arbritrary name chosen by the programmer to aid understanding of the code.
  • as TPKeys declares the type to be TPKeys. Googling for this type doesn't show any obvious matches, so it is probably a user-defined type. You can search your source code for definition of this class if you are interested.

You should probably start by reading a VB tutorial because this is a very basic question which will be explained in any decent tutorial.

Mark Byers
A: 

Jay describes what line means, but if you have a working solution, you should be able to go to the declaration of the tpkeys type to find what it is. Sounds like an add-in dll.

Simeon Pilgrim