I have typed one code in textpad and saved it as MyFirstApplication.vbc I want to compile this from command prompt, without using visual studio IDE. Is that possible.
When i searched in net i got an example saying
go to command prompt and type:
but when i typed this in command prompt, it says that "vbc " is not recognised as an internal or external command.
What i have to do to get this compiled
I would imagion you could compile the individual files into obj files and call the linker to create the exe as well but I really have no desire to complicate things when it is so simple to compile using the provided methods.
You are talking about VB.NET and not VB6(which is known as Classic VB too). VBC.EXE is the compiler for VB.NET programs and this is present in the .NET Framework folder. This folder is dependent on which version of framework you are using and ideally would be present in "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe".
I am moving the thread to VB.NET forum.
Use [code]your code here[/code] tags when you post source code
Search here before you post your question, someone might have already asked it before. My Articles
The example i tried was the one i got from vb website. It has some section on vb.net too. It seems like i have posted this question in not the correct forum. This is to be in VB.NET . Thank you all for giving some idea about compiling a VB6 files