dim vkeys as tpkeys
above is a code but i dont understand what does it mean
dim vkeys as tpkeys
above is a code but i dont understand what does it mean
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.
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.