English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I want to get visual studio but the computers at school only have VB 6.0
I want to know if I make a program at home with visual studio that it will still work at my school wich only has VB 6.0

2007-05-28 05:02:20 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

VB 6.0 is part of Visual Studio, but I'm assuming you are talking about Visual Studio.NET?

VB.NET is the next level beyond VB6, so you can't program anything on a .NET machine then open it on a VB6 machine.

There is a migration tool that lets you open a VB6 file in .NET and it automatically converts it to .NET (most of it...there will be a few things it can't resolve that you'll have to tweak.)

2007-05-28 05:46:26 · answer #1 · answered by rod 6 · 1 1

Visual Studio referrs to the suite of programs which includes VB. There are several versions of Visual Studio, VS6.0, VS2003 and the current VS2005 .

Each version is different and a VB program written in one say VS6.0, is opened and worked on in its original development environment (vb6.0 in this example.).


So if you are using VB2005 at home you will need to have VB2005 at school/work to directly edit it and debug it. (You can execute the compilied VB2005 program on any machine which has the dot net framework installed.


Notice I said directly.....

If you are beginning VB you can do some limited development at home using VB2005 and still be able to use Visual Studio 6 at school..... It would still be best if you could get VB6 installed at home. (Try to find a copy of the free learning edition version of VB6, many times included with VB6 instruction books)

for example the following code is valid in all versions of VB

Dim x as integer
Dim y as integer
Dim z as integer

y = 0
z = 0
For X = 1 to 10
if X > 5 then
y = y+1
else
z = z + x
end if
Next



You would cut and paste your source code between the two versions between home and school via a text file.

There are significant differences between VB6 and the new dotNet versions so you would not be able to directly cut and paste any programs which have any significant complexity.


But you can do simple things which you would encounter in a beginner class like conditional branching and looping problems. Or answering homework problems which require you to determine the output results of an algorithm....

so for example to continue the example program above if you wanted to display the results of x,y and z in label boxes
VB2005
label1.text = z

VB6
lable1.caption = z

subtile difference between the two versions but not impossible to figure out.....

Another difference in the above code is that in VB6 each variable is DIM'ed on its own line. In VB2005 you could write
DIM x,y,z as integer and all three variables would be integers. This is not the case in VB6 only x would be DIM'ed as an integer while y & z would become variants. The code would still work in most cases as you intend

If you have Microsoft Office at home you can use VBA which is a closer relative to VB6.

2007-05-28 07:17:52 · answer #2 · answered by MarkG 7 · 1 0

Visual Basic is one of the programming languages that can be used via Visual Studio Integrated Development Environment (IDE).

It looks like you need to find a copy of Visual Studio 6.0:

http://en.wikipedia.org/wiki/Microsoft_Visual_Studio

2007-05-28 05:43:09 · answer #3 · answered by ROY L 6 · 0 0

seen uncomplicated is a programming language resembling C ,C++ ,C# . yet seen Studio is a platform or an environment the place you are able to strengthen application products via making use of any of the programming language. seen uncomplicated: Programming Language seen Studio: Programming Platform the place you are able to strengthen products making use of any programming language.

2016-12-30 04:01:48 · answer #4 · answered by wurster 3 · 0 0

fedest.com, questions and answers