Solved

Is VB free?

Posted on 2002-03-13
9
247 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
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
 
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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now