Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

C++ template like supprt in VB

Hi everyone,

Is it possible to get C++ template like support in VB?

I have a class that works on user-defined objects. Now I do not want to define another class for each object that I want the class to work for. Is there a way to achieve this in VB. I know in C++ I can define a class like:

template <class T>
class Test
{
....
....
   T m_var;
}

Can something like this be achieved in VBA?

Thanks!
xargon


0
xargon_123
Asked:
xargon_123
1 Solution
 
xargon_123Author Commented:
Never mind, I decided to use Collection object
0
 
inthedarkCommented:
You can in .net but not in VB6.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now