Results 1 to 17 of 17

Thread: Learning Visual Basic

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Time Lord Member The_Doctor's Avatar
    Join Date
    Oct 2004
    Location
    The TARDIS
    Posts
    2,040

    Default Re: Learning Visual Basic

    In case you didn't already know, the visual basic in excel is different from both visual basic 6, and the current bersion of the language, vb .net
    I know that the Excel version is different.

    What is the difference between VB6 and .net?

  2. #2
    Eliminated Faction Heir Member Laridus Konivaich's Avatar
    Join Date
    Mar 2005
    Location
    Playing with swords
    Posts
    1,224

    Default Re: Learning Visual Basic

    Quote Originally Posted by Martinus
    What is the difference between VB6 and .net?
    Spelling? VB6 is older, and will soon no longer be supported by Microsoft, .NEt is newer (2003) and has become a fully object oriented language, which 6 was not. For example:

    Code:
    msgbox "Hi, welcome to my program!", "Welcome!"
    
    versus:
    
    messagebox.show("Hi, welcome to my program!", "Welcome!")
    The differences, at least from what I have seen, are not too difficult to overcome, at least moving from 6 in .net, but what you should probably do is find out which version you will be learing in the class next year, so that you know what you should study on your own.

    Map designer for the Age of Hellas Mod: Age of Hellas Forum

    "I vote for closed."
    Two posts later:
    "Argh...I forgot that I actually have to close topics in order for them to close." ~Big King Sanctaphrax link

  3. #3
    Time Lord Member The_Doctor's Avatar
    Join Date
    Oct 2004
    Location
    The TARDIS
    Posts
    2,040

    Default Re: Learning Visual Basic

    I found the hand-outs from last year and the guide they give you is about version 5.

    http://www.edexcel.org.uk/VirtualContent/29839.pdf

    This is the course I am doing. You don't all the units.

    I did 1, 2 ,3, 9, 12 and 13.

    I will be doing 4, 5, 6, 7, 14 and 16.

  4. #4
    These titles are too shor Member TonkaToys's Avatar
    Join Date
    Jan 2004
    Location
    Hitchin, UK
    Posts
    588

    Default Re: Learning Visual Basic

    Standard VB is pretty straightforward if you've ever done any programming. It starts getting "fun" when you have to call Excel functions, or DB functions or API functions, although all of that is much easier now in .net.
    SAMS do a good range of books, but really if you understand logic (if then, for next, select case, while wend, etc) then you only really need a reference book.
    Good luck.

    Ta-ra

  5. #5
    Time Lord Member The_Doctor's Avatar
    Join Date
    Oct 2004
    Location
    The TARDIS
    Posts
    2,040

    Default Re: Learning Visual Basic

    I bought Visual Basic 6 for Dummies.

  6. #6
    Time Lord Member The_Doctor's Avatar
    Join Date
    Oct 2004
    Location
    The TARDIS
    Posts
    2,040

    Default Re: Learning Visual Basic

    Oh great, the CD that came with the book does not have VB6 on it. The source code on the CD does not work with the VBA on Excel.

    Is there is way to make it work on VBA?

    If not,

    Where can a get a copy of VB6?
    Is it expensive?
    It so, how can I get it for free? (the book cost £30, I do not want to pay a lot for it.)

  7. #7
    These titles are too shor Member TonkaToys's Avatar
    Join Date
    Jan 2004
    Location
    Hitchin, UK
    Posts
    588

    Default Re: Learning Visual Basic

    The VB6 source code should be similar to VBA... what version of Excel are you using in case that makes a difference?
    Actually, it could be good practice for you to take a simple piece of code that doesn't work, run it through the debugger and then try to fix the errors. That might be a good way of getting your head around it.
    What type of errors are appearing? Perhaps the .Org can help.
    I don't think you can get VB6 for free, legally.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO