.inc files in vb.net
-
Hello, In previous version of vb we used to use .inc files like .h files in c++, how is the changed in vb.net ? Thanks for your reply :-)
-
Hello, In previous version of vb we used to use .inc files like .h files in c++, how is the changed in vb.net ? Thanks for your reply :-)
-
Hello, In previous version of vb we used to use .inc files like .h files in c++, how is the changed in vb.net ? Thanks for your reply :-)
You used .inc files in pervisous versions of VB? Are you sure?
Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things."
-
Hello gerry, I am a C++ programmer, now in the world of VB.net as in c++ world where we have .h files where we define the integer,string...array etc, is there some thing in vb.net world. where I could define all constants and global variables and include them in all files. or should all of them be defined in a module and include that module in the project while compiling. bijju
-
You used .inc files in pervisous versions of VB? Are you sure?
Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things."
Ray Cassick wrote: You used .inc files in pervisous versions of VB? He must be talking about VB3. VB4 dropped the support for include files. I see dumb people
-
Hello gerry, I am a C++ programmer, now in the world of VB.net as in c++ world where we have .h files where we define the integer,string...array etc, is there some thing in vb.net world. where I could define all constants and global variables and include them in all files. or should all of them be defined in a module and include that module in the project while compiling. bijju
Not sure, Bijju. "Imports system.io" for example imports (includes) a namespace that you can then refer to in your code, like additional classes. system.io comes from system.dll (I believe) so you could create a DLL and then make a reference to it in your project, or you can copy a source file to your project. I used to keep a number of "global" .h files in a special directory that I made known to the compiler, so it would know where to find it. You can probably do the same thing in vb .net, but I've only been using vb .net a month, so I'm learning as I go along. :-) Good luck, Gerry