Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

visual basic compiler - command not recognized 1

Status
Not open for further replies.

davikokar

Technical User
Joined
May 13, 2004
Messages
523
Location
IT
hallo,
I'm trying to compile a .vb control on the command line (c:/../) but I get this message: "vbc" is not recognized as an internal or external command, operable program or batch file.
The command line I use is this:
vbc /t:library /out:..\bin\customcontrols.dll /r:system..dll /r:system.web.dll customcontrol1.vb


do you know what is going on?
thanks for suggestion
 
I would suspect that the vbc file is not in the directory where you are running the command from. Try opening the command window and navigating to the folder the vbc file is in first.

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
ca8msm is right, I'd set path variable so you could compile from any directory you are working in.
To set your path you would go to control panel select system then the advanced tab then click Environment Variables and edit the path variable. Add the path of the framework\version
My framework lives in C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
So I added ;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 to the end if the path variable, the ; is a delimeter.

Marty
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top