473,394 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

2 Quick VB Questions (amateur)

1) My coding experience has all been with Visual Basic 6
(what I learned in school). Now with the whole ".NET"
products, can I code using the same syntax (provided that
I don't need to use the ".NET" functionality in my apps)
as in VB6. I guess the real question is how much of a
transition is it to Visual Basic .NET from VB6?

2) When you compile an application into an executable
file, do you need to send any supporting files to the
recepient to allow them to use your application?
By "supporting files" I'm not refering to any text files,
DLL's etc. (obviously they need to be sent as well). I
recall at one time it was necessary to include the VB
runtimes. Is this still the case and for that matter what
exactly where the runtimes anyways? (opps guess that
makes it 3 questions :) )

Thanks.

Ryan
..
Nov 20 '05 #1
4 1203
"ryan_s" <an*******@discussions.microsoft.com> schrieb
1) My coding experience has all been with Visual Basic 6
(what I learned in school). Now with the whole ".NET"
products, can I code using the same syntax (provided that
I don't need to use the ".NET" functionality in my apps)
as in VB6. I guess the real question is how much of a
transition is it to Visual Basic .NET from VB6?
The syntax in VB.NET is similar to VB6 (the extent of similarty has been
dicussed 1001 times). At least it is not 100% compatible. The environment
and circumstances (also called 'Framework') are completely different.
2) When you compile an application into an executable
file, do you need to send any supporting files to the
recepient to allow them to use your application?
By "supporting files" I'm not refering to any text files,
DLL's etc. (obviously they need to be sent as well). I
recall at one time it was necessary to include the VB
runtimes. Is this still the case and for that matter what
exactly where the runtimes anyways? (opps guess that
makes it 3 questions :) )


You need to distribute the .NET Framework (~20MB).
You can download the .NET Framework for free. It contains the VB.NET
compiler (vbc.exe), so you could write and compile "Hello world" for free.

--
Armin

http://learn.to/quote
http://www.plig.net/nnq/nquote.html

Nov 20 '05 #2
"Armin Zingler" <az*******@freenet.de> wrote...
"ryan_s" <an*******@discussions.microsoft.com> schrieb
can I code using the same syntax
The syntax in VB.NET is similar to VB6 (the extent of similarty has been
dicussed 1001 times). At least it is not 100% compatible.
I just wanted to point out that the non-compatibility is a good thing. The
"complaints" about VB have largely been addressed and brought what were
often "odd" VB-isms into line with features found in other languages.
You need to distribute the .NET Framework (~20MB).


I'll also point out that you only need to do this if the target computer
does not already have the framework installed and remind the OP that the
framework isn't a "VB" framework but rather a .Net framework. It is
language neutral.

Nov 20 '05 #3
This seems to be quite the transition to make if I only
need to write simple applications. It sounds like your
saying if I decide to write a custom calculator
application I not only need to code it differently using
the .NET syntax but I need to send a ~20MB framework for
someone to use my little calculator?

Can you purchase a Non .NET version of Visual Basic?
Unless I'm misunderstanding it seems like .NET is overkill
for what I need it for.

Again, just to put things in perspective I'm not a
professional level developer. I just want to write some
relatively simple applications using the VB knowledge I
obtained in school.

Thanks.

-Ryan
Nov 20 '05 #4
* "ryan_s" <an*******@discussions.microsoft.com> scripsit:
the .NET syntax but I need to send a ~20MB framework for
someone to use my little calculator?
Yes. There is no other way. The framework must be installed.
Can you purchase a Non .NET version of Visual Basic?


No. Visual Basic Classic is not sold any more. You can try to get it
at eBay or somthing like this but make sure you don't buy a version that
was part of an MSDN subscription, ...

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: marc_r_bertrand | last post by:
To all asp/db pros: The quiz code below works. But there is a problem when too many questions are answered (radio buttons clicked). I am not an asp pro. So, is there a pro out there or an...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.