Include Files

J

Jason

Hi,

I was unable to find a previous post on this topic. I am
writing a web application which consists of multiple .vb
files. I am not using an IDE like VS.NET. I wish to
compile my code into a DLL later on in the project, but
for now, I'm just running my code by opening it up in
internet explorer.

Being more of a c++ developer than a vb.net developer, i
know that you can use the #include statement to add
(include) files. What is the equivalent statement in
VB.NET?

Thanks,
Jason
 
C

Cor

Hi Jason,

Do you mean the old asp include or the C++ include, maybe you can better
write what you want to archieve, comparing with other languages gives always
misunderstandings?

I give always the example with this from someone who had written a 200 lines
programs, while that was included in one statement in the language he was
using, but he did it in the way from his old language which had not that
effective statement.

Cor
 
J

Jason

Hi,

I mean like the C++ include. I want to be able to have
multiple files compile together to make a DLL, so that I
can call functions from the files i included, in the main
class - almost as if it was one file.

Thanks,
Jason
 
C

Cor

You can make as much seperate classes in your project as you wish (withouth
an include) and you can use the Project resources to include extern
resources, is that what you want?

However as far as I know can you not include a piece of sourcecode from an
extern resource in your classes (or modules).

Cor
 

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

Top