Re: VB.NET Discussion



"Sharrukin Amiri" <sharrukin@xxxxxxxxxxxxxxx> wrote in message
news:6TPee.18328$VL3.788136@xxxxxxxxxxxxxxxxxxxxxxxx
> Hello,
>
> I am using VB 6.0 for many years. Everytime I needed to build software
> applications, I just opened VB 6.0 and started coding. I am now looking
> VB.NET Express Edition and I find I can no longer do this very easily. I
> find that there is too much copy and paste of code in order to get an app
> running. I also find it slow. Is it me or I am missing something? Here
> is
> a sample of my coding which you could find at:
>
> http://www.amtekcenter.com/amtek/wdwscode.htm
>
> P.S.: Do I have to change my style of coding? Can I code the same way in
> VB.NET?
>
> Thanks!
>

YES you have to change your style of coding. One of the major plusses of
VS.Net is the support for object oriented programming - true OOP and not the
half-assed support that VB6 has. To get the most from this tool you have to
use OOP techniques and that requires not only different coding but a whole
new way of thinking about and planning apps. I find that a good part of the
complaining about .Net comes from people who do not understand this and want
it to be just an upgrade to VB6. Well, that's just not what it is. Yes .Net
has various problems, and VB6 remains a viable tool for many situations, but
IMO you need to know both to be a competent Windows programmer.


--
Peter Aitken

Remove the crap from my email address before using.



--
Peter Aitken

Remove the crap from my email address before using.


.



Relevant Pages

  • Re: Hi all.
    ... I don't complain so much about the coding in DONT NET since I've made ... Then Microsoft optimized he code and now, ion VB6 ... Maybe I can do some coding in both, but I don't know if there are hidden ... Look for groups with 'dotnet' in the name. ...
    (microsoft.public.vb.general.discussion)
  • Re: VB6, VB2005, or Something Else?
    ... buys us 6 or so years to start a long-term migration to another coding ... VB6 works OK in 64 Bit, but has many limitations, the biggest is you ... sluggish compared to a vb6 app. ...
    (microsoft.public.vb.general.discussion)
  • Re: VB.NET Discussion
    ... I just opened VB 6.0 and started coding. ... > this and want it to be just an upgrade to VB6. ... and VB6 remains a viable tool for ... > Remove the crap from my email address before using. ...
    (microsoft.public.vb.general.discussion)
  • Re: Microsoft WON
    ... I must admit I like VB.NET too. ... After coding in ... it for awhile, VB6 seems so, um, primative by comparison. ...
    (microsoft.public.vb.general.discussion)
  • Re: if x=y or z or .....
    ... >I got your first example to compile but not the second one. ... >is crap) so I would like to get it working - any further clues? ... The Case method is, indeed, a much tidier way of coding ... The problem is that Case does not work with Strings ...
    (comp.lang.pascal.delphi.misc)

Loading