Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / October 2005

Tip: Looking for answers? Try searching our database.

Compiler not found from command prompt

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mjy - 06 Oct 2005 17:53 GMT
I have installed version 1.1 SDK, saved the "Hello World" code example, but
when I load the command prompt (black DOS window) and type in the compiler
instruction from the directory where the file is stored I get an error
message saying that the vbc command is not recognized by the system.  Where
have I gone wrong?
Signature

mjy

S.M. Altaf [MVP] - 06 Oct 2005 21:05 GMT
You need to navigate to where vbc.exe is located and run it from there.

In your command prompt window, head over to
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322, and run it from there.  Be
sure to specify the path to the file from there.  For more help, type

vbc /?

-Altaf
[MVP - VB]

--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com

>I have installed version 1.1 SDK, saved the "Hello World" code example, but
> when I load the command prompt (black DOS window) and type in the compiler
> instruction from the directory where the file is stored I get an error
> message saying that the vbc command is not recognized by the system.
> Where
> have I gone wrong?
Hari Sekhar (MSFT) - 10 Oct 2005 18:59 GMT
Mjy,

You need to setup your environment to include the compilers in the path. You can do this by running the "sdkvars.bat" file in your command prompt. "sdkvars.bat" is located in the <path to SDK>\SDK\v1.1\bin folder on your computer.

Hope this helps

Hari Sekhar
Microsoft

-----Original Message-----
From: mjy@discussions.microsoft.com
Posted At: Thursday, October 06, 2005 9:53 AM
Posted To: microsoft.public.dotnet.framework.sdk
Conversation: Compiler not found from command prompt
Subject: Compiler not found from command prompt

I have installed version 1.1 SDK, saved the "Hello World" code example, but
when I load the command prompt (black DOS window) and type in the compiler
instruction from the directory where the file is stored I get an error
message saying that the vbc command is not recognized by the system.  Where
have I gone wrong?
Signature

mjy


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.