compiling code

H

Hari

I was just recently informed by members of this newsgroup as to how to
create a GUI application by referencing different .dll files. This works
perfectly, since it creates an output .exe file. However, just for future
reference, is there a way to compile the code without referencing all of the
..dll files.

If I type in

vbc xxxx.vb

I get some errors saying the librarires could not be found. So the only way
I know of to compile GUI code is:

vbc /r:System.dll,System.Windows.Forms.dll,System.Drawing.dll, etc. xxxx.vb.

So basically, my question is can I compile code without referencing. Thanks
all in advance.
 
J

Jeremy

Hari said:
I was just recently informed by members of this newsgroup as to how to
create a GUI application by referencing different .dll files. This works
perfectly, since it creates an output .exe file. However, just for future
reference, is there a way to compile the code without referencing all of the
.dll files.

Yes, you can create a compliation configuration file (*.rsp files).

See this article:
http://www.flws.com.au/showusyourcode/codeLib/code/CompileSCut.asp?catID=5
 

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