#include in vb.net

  • Thread starter Thread starter Altman
  • Start date Start date
A

Altman

Is there a way to do an #include type thing in vb.net? I have a couple of
constants and I want to be able to have all my controls take those constants
from one spot.
 
Altman said:
Is there a way to do an #include type thing in vb.net?

No.

Add the constants to a module, so they will be imported automatically...
 
Altman

Yes of course using OOP is nothing more than consequently including parts
you made before and reusing them. (In your case the most easy one is a
shared class)

So make your class and use it.

I hope this helps

Cor

"Altman"
 
Back
Top