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?
I will be using that further down in the code as well to use the class if it is available.Code:#If clsMyClass-Exist Dim clsMyClass As New clsMyClass #End If




Reply With Quote