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.
 
Joined
Jul 21, 2006
Messages
1
Reaction score
0
Hi,

You run \\v1.1\Bin\sdkvars.bat before run the build files or you add the details of sdkvars.bat to your system environment PATH.
 

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

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,274
Latest member
JessMcMast

Latest Threads

Top