Results 1 to 21 of 21

Thread: i'm begginer in vb6

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2010
    Posts
    2

    Smile i'm begginer in vb6

    i'm begginer in vb6..
    what's your advice?

  2. #2

  3. #3
    Fanatic Member sessi4ml's Avatar
    Join Date
    Nov 2006
    Location
    Near San Francisco
    Posts
    958

    Re: i'm begginer in vb6

    If you want something to happen, only you can make it happen.
    To master anything takes about four hours a day.
    Start with small code...and expand.
    Write program:
    Guess a number between 1 - 100
    This was my first program.

    Be nice to people, try not to hurt anyone, and if you are lucky you will fall into love.
    Breath, take a step forward, check in, Breath...
    Dance like no one is looking
    And be sure to have fun.

    Now go write some code...with comments

  4. #4
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: i'm begginer in vb6

    I suggest you *seriously* consider what RhinoBull said, and after that you can either pick up a good book, or find some free online resources. You can find a lot by simply Googling "learn vb.net" or something like that.

    You can use these Forums and other website to find free/open source projects and samples, so you can learn by example. But I suggest you dont skip the books. You can learn a lot of things from other peoples examples, but those examples are written by people with various levels of knowledge, so you can also take a lot of bad habits and mistakes from them.

    Do take time to learn the programming basics. You wont regret it later on.

  5. #5
    Member
    Join Date
    Apr 2010
    Posts
    55

    Re: i'm begginer in vb6

    I agree, if you're a beginner, start with Visual Basic2008/2010. Many of us who have full-time careers are steeped in the older VB 4-5-6 (and in my case Qbasic and Quick Basic 4-5) tradition, and we simply do not have enough time to learn a whole new programming approach if its not directly related to career goals. If you're younger with time on your hands, now is definitely the time to start learning!

  6. #6
    PowerPoster CDRIVE's Avatar
    Join Date
    Jul 2007
    Posts
    2,620

    Re: i'm begginer in vb6

    There is a caveat to devoting the rest of your life to VBNET. That is, there is absolutely no guarantee the Microsoft won't throw you and VBNET under the bus someday too!
    <--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
    If topic has been resolved, please pull down the Thread Tools & mark it Resolved.


    Is VB consuming your life, and is that a bad thing??

  7. #7
    Frenzied Member
    Join Date
    Mar 2009
    Posts
    1,182

    Re: i'm begginer in vb6

    >There is a caveat to devoting the rest of your life to VBNET. That is, there is absolutely no guarantee the Microsoft won't throw you and VBNET under the bus someday too!

    Only a few to several years left to find out... Then what, do we finally get our VB7 that was supposed to come out before all this .NET nonsence???
    Option Explicit should not be an Option!

  8. #8
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: i'm begginer in vb6

    As there is no programming question involved, I'm moving this to General Developer

  9. #9
    Fanatic Member esposito's Avatar
    Join Date
    Sep 2003
    Location
    Perugia, Italy
    Posts
    961

    Re: i'm begginer in vb6

    Quote Originally Posted by CDRIVE View Post
    There is a caveat to devoting the rest of your life to VBNET. That is, there is absolutely no guarantee the Microsoft won't throw you and VBNET under the bus someday too!
    Wise words. History has already taught us that lesson.
    Last edited by esposito; Apr 7th, 2010 at 07:12 AM.
    Since I discovered Delphi and Lazarus, VB has become history to me.

  10. #10
    Member
    Join Date
    Apr 2010
    Posts
    55

    Re: i'm begginer in vb6

    I guess as long as programs written in VB6 will still run on future Windows versions, there will still be many of us hobby/amateur programmers who keep using VB6. Even if MS has discontinued all support, there's still TONS of support from users all over the globe.

  11. #11
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: i'm begginer in vb6

    Quote Originally Posted by dtbradio View Post
    I guess as long as programs written in VB6 will still run on future Windows versions, there will still be many of us hobby/amateur programmers who keep using VB6. Even if MS has discontinued all support, there's still TONS of support from users all over the globe.
    That's just it. There are some indications that they wont work on the future Windows 8 (or whatever it will be called).

  12. #12
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: i'm begginer in vb6

    Adapt or get left behind.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  13. #13
    Superbly Moderated NeedSomeAnswers's Avatar
    Join Date
    Jun 2002
    Location
    Manchester uk
    Posts
    2,657

    Re: i'm begginer in vb6

    There is a caveat to devoting the rest of your life to VBNET. That is, there is absolutely no guarantee the Microsoft won't throw you and VBNET under the bus someday too!
    To be fair the same could be said of any programming language that is owned by a corporation. Only Company Neutral languages like c++ can reasonably guarantee that you should be able to use them for life, and even then something could happen that changes all that.

    Programming is about change, so far in my career i have learnt 6 languages and have worked a small amount with of a couple more, the last one C# i am still learning.


    I guess as long as programs written in VB6 will still run on future Windows versions
    As far as i was aware Microsoft are dropping the vb6 runtime from future versions of Windows. So after Windows 7 vb6 programs will not work on future versions of Windows.
    Please Mark your Thread "Resolved", if the query is solved & Rate those who have helped you



  14. #14
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: i'm begginer in vb6

    Of course, we have also heard that VB6 would not run on Vista, then Windows 7, and so forth.

    NSA has it right, though. If you want to work in a language that is going to be certain to be around for decades, then you need to use C/C++. There are open source compilers for both, and thousands of books and tons of other material to help you. However, when it comes to C/C++, you just might need all those resources...

    VB6 has been replaced by .NET (there was no VB7 that died, it was called VB6.5), but that's nothing new. I never used VB versions prior to 5 (technically, I used VB4 after a fashion, but not explicitly), but my understanding is that there was a major shift in language between VB3 and VB4, and in any case, VB4 was radically different from the QBASIC that was shipped as part of DOS. So even within Basic, the move to .NET is at least the third, if not the fourth, total revision in somewhat more than a decade (.NET came out in 2002, so those changes were 1992-2002). Will there be another one? Of course. Heck, when somebody knocks Windows off the pedestal as the most common OS, perhaps all VB will go the way of the dinosaurs (along with Espositos Delphi).

    The only safe route for long term is C/C++, which need not necessarily fail even if the most common processor ceases to be the x86 family.
    My usual boring signature: Nothing

  15. #15
    Member
    Join Date
    Apr 2010
    Posts
    55

    Re: i'm begginer in vb6

    I guess at some point I will have to just deal with the headaches I get from looking at C code, and learn it.

  16. #16
    Superbly Moderated NeedSomeAnswers's Avatar
    Join Date
    Jun 2002
    Location
    Manchester uk
    Posts
    2,657

    Re: i'm begginer in vb6

    I guess at some point I will have to just deal with the headaches I get from looking at C code, and learn it.
    Either that or be prepared to learn when changes happen as they often do. VB.Net for Instance is not that difficult to learn if you already know VB.

    Web development has seen massive changes in recent years this doesn't stop people doing it, people adapt to the new technologies and often use them to make better systems than were possible before.
    Please Mark your Thread "Resolved", if the query is solved & Rate those who have helped you



  17. #17
    Fanatic Member sessi4ml's Avatar
    Join Date
    Nov 2006
    Location
    Near San Francisco
    Posts
    958

    Re: i'm begginer in vb6

    Posting like this amazes me. It starts with a simple question, I need help in VB6, and it morphs into , learn, change or die...
    Oh, by the way...learn 'C'

    Choose a different field , building maintence...thanks dad

  18. #18
    Superbly Moderated NeedSomeAnswers's Avatar
    Join Date
    Jun 2002
    Location
    Manchester uk
    Posts
    2,657

    Re: i'm begginer in vb6

    What,

    you think the advice given is wrong in some way ?

    Would you advise someone who is just starting out to learn a language that is in effect dying rather than the latest technology ?

    I never understand this resistance to change some people have, i have worked as a software developer for over 10 years and i learn something new virtually everyday.
    Please Mark your Thread "Resolved", if the query is solved & Rate those who have helped you



  19. #19
    PowerPoster Jenner's Avatar
    Join Date
    Jan 2008
    Location
    Mentor, OH
    Posts
    3,712

    Re: i'm begginer in vb6

    Exactly NeedSomeAnswers. Software development is about change. I used VB6 for YEARS and you know what? I'm SO happy I never, ever have to touch that buggy tub of crud again, I was walking on air. VB6 is dead, and for a new programmer, there's as much sense to learning VB6 as there is to learning COBOL or ADA.

    When my current company asked me to write a program for them, I decided I'd see what this VB.NET was about, downloaded the Express edition and uninstalled VB6 as not to tempt me.

    After the first day, I could do everything I wanted to with forms, and learn several new tricks I only dreamed of having in VB6 like anchoring/docking and FlowLayoutPanels.

    After a week, I understood the basic structures, conditionals, and variable types. I turned on Option Strict and learned to use Convert.

    After a month, I had all the basics... object enumeration, difference between classes and structures, events and handlers, file manipulation, and how to talk to databases. All 100&#37; self taught from scouring online tutorials 4 hours a day. My code still looked very VB6-ish, but it worked.

    After a year, my code no longer looks much looks vb6. I'm now regularly doing things like creating new class objects that inherit other classes, implementing standard interfaces in my classes, and I've mastered multi-threading and invoking delegates.

    After four years, there's still things I can learn providing I choose to. I still haven't had good opportunity to use WCF or WPF yet for example though I've been picking at WPF off and on for some time now. I still don't know some of these fancier ways to handle XML; but most of these technologies I just haven't had a need to learn yet. At this point though, I've mastered LINQ and lambdas, I routinely design objects now that inherit from more primitive objects I've made, and I'm learning basic game programming via XNA and Managed DirectX.

    My advice to the OP, don't bother learning VB6. It's a dead language. Period. Learn .NET. Heck, learn any modern, actively developed language; whether it's VB.NET or C#, Java, C++ , or Python.
    My CodeBank Submissions: TETRIS using VB.NET2010 and XNA4.0, Strong Encryption Class, Hardware ID Information Class, Generic .NET Data Provider Class, Lambda Function Example, Lat/Long to UTM Conversion Class, Audio Class using BASS.DLL

    Remember to RATE the people who helped you and mark your forum RESOLVED when you're done!

    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. "
    - Albert Einstein

  20. #20

    Thread Starter
    New Member
    Join Date
    Apr 2010
    Posts
    2

    Re: i'm begginer in vb6

    Thanks for the info.

  21. #21
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: i'm begginer in vb6

    Quote Originally Posted by dtbradio View Post
    I guess as long as programs written in VB6 will still run on future Windows versions, there will still be many of us hobby/amateur programmers who keep using VB6. Even if MS has discontinued all support, there's still TONS of support from users all over the globe.
    That's not the point anymore - as OSs advance old programming languages cannot keep up with new technologies that they were meant to support back in days.
    See, VB6 was developed during WinNT era, then it was Win2K and finally XP...
    Guess what? All of them were based on the same platform with better gui and perhaps better hardware support with each release.
    Now, when Vista was introduced Vb6 immediately began to show its age and with the release of Win7 it's even more obvious.
    To support new technologies you'd have use (or build your own) third parties but even that isn't always possible.
    When language becomes shorthanded it really "becomes" a ... well ... COBOL ... (sorry but I just couldn't resist)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width