Link to home
Start Free TrialLog in
Avatar of icd
icd

asked on

Is VB free?

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.
ASKER CERTIFIED SOLUTION
Avatar of TimCottee
TimCottee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of K7
K7

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
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.
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
Avatar of Mike McCracken
listening
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:
https://www.experts-exchange.com/visualbasic/Q.20275684.html

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

Cheers,
Abel
You can get nearly any program for free if you get it from the right "store."  ;)
Avatar of icd

ASKER

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! :-)