qry in importing namespace

srivalli

Well-known member
Joined
May 4, 2005
Messages
189
Programming Experience
Beginner
hello
i created one namespace in first form
that namespace and its classes iam using my second form with in the same project
now i want to impot that namespace in other project
that is i want to use that namespaces and its classes in different project
can i know the procedure
i also want to how to work with the assemblies
can any one give me a small example on each
thanks
 
you can either use an imports statement at the top of form2 and then just call your functions and whatnot

or you can just call them directly each time just like you would anything else in the framework
 
qry in NS

i have used imports statement in my form2
its working well and good
now my query is i want to imports one project in another project
can i get a small example to clarify my doubt
thanks

JuggaloBrotha said:
you can either use an imports statement at the top of form2 and then just call your functions and whatnot

or you can just call them directly each time just like you would anything else in the framework
 
in the project that you want to import the other one
in solution explorer right click References and click add reference then click browse and locate your other app then click ok and ok the exe or dll will be copied to the bin folder of this app so when distributing, dont forget to include the dll or exe

now you can use an imports statement at the top of the forms that you want to use the stuff that you just referenced
 
Back
Top