#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"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top