Solved

Is VB free?

Posted on 2002-03-13
9
249 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

920 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

14 Experts available now in Live!

Get 1:1 Help Now