Compile Class

S

Steven K

Hello,

I am trying to follow a tutorial on "assembly" and I need to compile a class
file using the following:
vbc /t:library /r:System.dll /out:bin/asmMenu.dll asmMenu.vb
pause

However, I keep getting the error:

vbc is not recognized as an internal or external command, operable program
or batch file

Can I download the compiler or do I need to have software like VB6? I am
running W2K with Framework 1.1
 
B

Bryant Hankins

You need to ensure that vbc.exe is in your PATH. It lives in:
C:\WINNT\Microsoft.NET\Framework\<version>\

You will need to either do a SET PATH=
OR
Go to Control Panel->System->Advanced->Environment Variables and update the
PATH there.
 

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