In VB.NET, I could declare a function like this:
Function Generic(Of T)(ByVal arg As String) As T
...
End Function
From an MSDN article: http://msdn.microsoft.com/en-us/library/ms172193.aspx
Unfortunately, I can't directly C+P this function into a VB6 project.
Does VB6 not support the 'Of' keyword? There is not much documentation on it.
Is there a VB6 equivalent for this VB.NET sample?