Solved

Is VB free?

Posted on 2002-03-13
9
255 Views
Last Modified: 2013-11-25
I know that VBA comes with programs like Access and Word but if I want to write a VB program do I have to buy (for example) Visual Basic .net?

The programs I have in mind are console applications, simple text in-out.
0
Comment
Question by:icd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 50 total points
ID: 6860800
If you want to write a stand-alone application that does not require a VBA container then you must buy VB. Either version 6.0 or .NET however if you really mean console applications that look like a DOS box, then life is not as easy as you think. VB can do this but needs to be tricked into it which is not the easiest thing in the world.
0
 
LVL 18

Expert Comment

by:mdougan
ID: 6860818
Frequently, beta versions of VB are available for little or no cost prior to their release.  Subscribe to VBPJ magazine or check on Microsoft's site.  These can be pretty buggy but for simple things they may be fine.

Also, if you have programs like Excel or Access, you can write Macros using VBA to do most of the same things.
0
 
LVL 1

Expert Comment

by:K7
ID: 6860833
Hi
if a simple console app is all u wnat/need VB is probably not the right language any ways.  you could use pascal or something like that which u can get free i think.

As fahr as VB v.s. VBA is cpncerned i'm not sure what the limatations placed on VBA are but you can make forms ect. so that should be enough for simple things.
But u can alwais do what i did in hight school, ask your friend who has a copy of Visual Studio and a CD-R for a copy.

I hope this helped

Cat
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 22

Expert Comment

by:rspahitz
ID: 6861061
VB is really "VB for Windows" so anything you can do in VBA you can do in VB...except compile.  If you look at the references for a new project in VB, you'll notice that it uses the VBA engine to handle all of its syntax.  Everything else is simply object manipulation.  The compiling process actually uses a separate application which is not distributed with other "VBA" applications.
0
 
LVL 1

Expert Comment

by:gotaluvme
ID: 6861085
You might could buy an old copy of VB for next to nothing on eBay or check around town and in the newspapers for the right software buy.  You can get lucky.  

Text in and out console applications could be handled better with programs like Perl or C or C++ then with VB.  You can download a copy of Perl for free and there are plenty of C compilers available.  

Perl
http://www.activestate.com/

As far as C++ compilers go, here is a free one:
Borland C++ Compiler version 5.5 Free Download
http://community.borland.com/article/0,1410,20633,00.html

Also download Spetnik's free C++ Compiler shell to make life easier with the above free compiler
http://www.zdnetindia.com/downloads/devtools/info/3892968.html
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 6861106
listening
0
 
LVL 39

Expert Comment

by:abel
ID: 6861126
If you are going to write controls (I know, you talked about console apps), you can get the VB5CCE edition for free from microsoft. But you cannot write executables with it, only controls and dlls.

For console applications, it may not be easy, but is isn't that hard either. Just use AllocConsole, FreeConsole, GetStdHandle and WriteConsole and you are done. For a discussion on the problems it may rise under VB, look up this recent question:
http://www.experts-exchange.com/visualbasic/Q.20275684.html

But then again, if you are new to VB, do not start with APIs.

Cheers,
Abel
0
 
LVL 18

Expert Comment

by:Crash2100
ID: 6861133
You can get nearly any program for free if you get it from the right "store."  ;)
0
 
LVL 5

Author Comment

by:icd
ID: 6861166
Thanks all for those comments.

I have been programming for 25 years! I use assembler, C, C++, Perl, VBA, Delphi, but never VB :-)

I have an SDK that for some reason does not work on C and I wanted to try the VB one to see if I could fair better there. I just thought that MS may have started to give VB away for 'free' after all this time. I suppose I should have known better! :-)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question