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.