I have a module that is used in several projects. If a certain class is present I want to declare this class inside the module. Is there a way to use the #ifdef to do this?
Code:
#If clsMyClass-Exist
  Dim clsMyClass As New clsMyClass
#End If
I will be using that further down in the code as well to use the class if it is available.