Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Replying to Visual Basic Names


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

turbopowerdmaxsteel

Posted 01 January 2007 - 05:25 PM

I know we are getting a bit off topic, but...

No matter what you call Microsoft's putting together of the trademark Visual Studio members, you can't deny that they have pioneered many new technologies. Let me state some pertaining to the revolutionary Visual Basic.

VB6 is undisputedly the world's most popular language.

> The name visual itself is very important, for the first time, people could drag and drop controls onto a design surface and see how a program would look without going through the lengthy edit-compile-test cycles required by other languages.

> Stepping through code while debugging - just ask any VB developer if they could do without it.

> The introduction of Active X Controls took the idea of code reusability to a completely new level.

> VB was also the first popular general-purpose language to offer truly integrated database access.

> The IDE concept that VB revolutionized has now been incorporated by non Microsoft products too (Delphi, Java).

> Intellisense - It speeds up software development by reducing the amount of keyboard input required and allows less reference to external documentation due to embedded function signatures and short descriptions.

True it lacked the pure object oriented power of other languages, but hasn't it caught up with .NET? As we programmers grow lazier day by day :), changes such as these are greatly welcome and with the further advent of hi-tech sidekicks, we will do so even more.

tansqrx

Posted 01 January 2007 - 08:03 AM

Just as an added comment to your P.S., you should look at the MONO Project at http://www.mono-project.com/Main_Page.

Lee-Programmer

Posted 01 January 2007 - 03:50 AM

You may be right about this, but look at the main features of the two similar but different programming languages.

Visual Basic .NET's major advantage is that it has .asp (active server pages) and SQL and built in xml tools. But, it does not do that well with other aspects of programming such as OpenGL and Direct X. It aslo involves with a lot of web controls, giving the hint that it is meant for servers.

Visual Basic 6 has a better capability over things such as graphic manipulation fares better, creating .ocx and .dll and slightly better in API (but not as good in C/C++). As you can see, these things are all local resource programs. Visual Basic 6's internet connection tools are really, bad. The only way it can comunicate is to use a plugin written in some other language, or with API, which is not that great.

And additionally, .NET has this capability of a Client to Server capability included, which was why I said server language (althogh i meant server-client). I have used .NET before, don't think amade random assumtions.

PS: Even if I use GNU C++, I do not really like Microsoft C#. It is just a lousy effort by Microsoft to monoplise the programming language (note that is why we don't get compilers for such programs (such as C# and VB) from non-Microsoft based companies). C++ and Java are open languages, like html, anybody could make compilers for them if they want.

tansqrx

Posted 18 October 2006 - 08:30 PM

I have to somewhat disagree with your observations that VB.NET is only a server language. I have written many standalone Windows Forms applications. The current program is 10K+ SLOC and I have had no problems with VB.NET yet (in the sense of being a poor programming language). With the advent of the .NET Framework, VB.NET is just as powerful and has 99.9% of the features as C#. It is true that the majority of uses of VB.NET have been with ASP and database applications but I don’t think this is because it is a “server” language.

I guess the bottom line is this. The choice between VB.NET and C# is only what you are used to program in. If you came from C++ then C# is naturally your choice, if coming from VB then you will feel quite at home with VB.NET.

Lee-Programmer

Posted 13 October 2006 - 02:24 PM

Dont Kick my nuts if i am being too VB illiterate .. I just started learning VB as a course in university ..
Please explain in detail for the above, ResourceName$ Dim ResourceName as String and ResourceName& Dim ResourceName as Long

Normally we were told to define a variable like Dim a As Integer , here a being the variable. Where does this ResourceName$ Dim ResourceName come in ? Just a little Inquisitive :P

Regards
Dhanesh.


I'm not really trying to tease you here, but that is VB.NET. It has quite some difference to VB6. Doing this in VB6 will cause an error. That's why, trust your instincts, unless you do not feel the passion of programming (Purrr). Form what I could gather, it only exist in VB.NET.

PS: VB.NET is a language for computer servers, hardly useful in a normal program.

dhanesh

Posted 25 February 2006 - 07:04 AM

Dont Kick my nuts if i am being too VB illiterate .. I just started learning VB as a course in university ..
Please explain in detail for the above, ResourceName$ Dim ResourceName as String and ResourceName& Dim ResourceName as Long

Normally we were told to define a variable like Dim a As Integer , here a being the variable. Where does this ResourceName$ Dim ResourceName come in ? Just a little Inquisitive B)

Regards
Dhanesh.

nopaniers

Posted 24 February 2006 - 06:15 PM

I agree absolutely. These short cuts are there because of backwards compatability. Don't use them if you can possibly avoid it. Something like 80% of software cost is on maintanance so it's worth your time to be clear about the type of a variable...

Khymnon

Posted 11 January 2006 - 06:41 PM

Totally true, transgrx. :-)

Although proper coding styles were a merely means of convenience and maintenance in earlier versions, new features like inheritance, up- and down-casting, polymorphism and the like make it essential to adopt a consistent *correct* style, effectively deminishing the fine line between style and proper syntax.

Actually, I come from a low-level programming background (e.g. C, C++) so I think by now I instinctively force myself to more strict coding styles even if the alternative can do the job well. :-)

tansqrx

Posted 11 January 2006 - 04:23 PM

OK I will agree with that, just bad coding style. I have just found out that bad coding style can sink a ship quicker than almost anythign else.

Khymnon

Posted 11 January 2006 - 06:04 AM

Well, type-characters used to be very nice short-hands before Visual Basic 5. Some old-timers love it and will debate who says otherwise relentlessly :-).

But I suppose you're when you say it's bad; but it's not bad technique, merely bad coding style. At least, I think so.

Review the complete topic (launches new window)