Results 1 to 17 of 17

Thread: Converting From vb6.0 to Vb.net

  1. #1

    Thread Starter
    Hyperactive Member squakMix's Avatar
    Join Date
    Oct 2003
    Location
    Washington
    Posts
    342

    Converting From vb6.0 to Vb.net

    hey, I just Went from vb6.0 to vb.NET, and WoW, what a difference.

    So much of one, I have no idea how to compile a project!
    Can Someone just show me around this thing. I really dont understand Most of what I am seeing .

    Thanks for any help.
    -squaK

  2. #2
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    1. There is a built in tool in VS.NET which can convert VB6 to VB.NET code. It doesn't work for everything but somethings it works.

    2. VB.NET is very different from VB6, I'd suggest getting a book. No one here will be able to "show you around this thing". The VS.NET IDE is fairly similar to VS6's so I don't see why you'd need someone to show you around anyway.

    3. and this is the wrong forum.

  3. #3

    Thread Starter
    Hyperactive Member squakMix's Avatar
    Join Date
    Oct 2003
    Location
    Washington
    Posts
    342
    How do I compile a project?
    -squaK

  4. #4

    Thread Starter
    Hyperactive Member squakMix's Avatar
    Join Date
    Oct 2003
    Location
    Washington
    Posts
    342
    I Converted my vb6 to .Net. It wont run.
    -squaK

  5. #5

    Thread Starter
    Hyperactive Member squakMix's Avatar
    Join Date
    Oct 2003
    Location
    Washington
    Posts
    342
    "Please build the project and Start again." I "Built" the project, and started again, and it doesnt work.
    -squaK

  6. #6
    Frenzied Member
    Join Date
    May 2003
    Location
    So Cal
    Posts
    1,564
    Read #1 and #3 above.

  7. #7

    Thread Starter
    Hyperactive Member squakMix's Avatar
    Join Date
    Oct 2003
    Location
    Washington
    Posts
    342
    I tried something like:

    Private sub Button1_click()
    button1.caption = "hi"
    End Sub

    And it didnt work.
    Why? This is still VB isnt it!?
    -squaK

  8. #8

    Thread Starter
    Hyperactive Member squakMix's Avatar
    Join Date
    Oct 2003
    Location
    Washington
    Posts
    342
    Originally posted by squakMix
    I tried something like:

    Private sub Button1_click()
    button1.caption = "hi"
    End Sub

    And it didnt work.
    Why? This is still VB isnt it!?
    ah, I see now that It is called something different. My bad.
    -squaK

  9. #9
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Originally posted by squakMix
    I tried something like:

    Private sub Button1_click()
    button1.caption = "hi"
    End Sub

    And it didnt work.
    Why? This is still VB isnt it!?
    Read #2. You need to buy a book or you'll just confuse the hell out of yourself

    btw, you are allowed to edit your posts. Just fyi

    edit: I seen what you deleted, lol
    Last edited by Kasracer; Jan 22nd, 2004 at 09:46 PM.

  10. #10

    Thread Starter
    Hyperactive Member squakMix's Avatar
    Join Date
    Oct 2003
    Location
    Washington
    Posts
    342
    What would you recommend? I was thinking of Going to C++ (I have visual STUDIO .NET)... Should I just go directly To that? I was working on a program in vb, But I found out recently That It had no use (long story), So I was thinking of ending production on it soon.

    Should I just go Straight to C++, rather than Re learning how to write the vb Coding?

    If So, What books would you recommend for a beginner C++ coder?
    -squaK

  11. #11
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Originally posted by squakMix
    What would you recommend? I was thinking of Going to C++ (I have visual STUDIO .NET)... Should I just go directly To that? I was working on a program in vb, But I found out recently That It had no use (long story), So I was thinking of ending production on it soon.

    Should I just go Straight to C++, rather than Re learning how to write the vb Coding?

    If So, What books would you recommend for a beginner C++ coder?
    It depends on what you want to do...

    What do you want to do? If you learn C++, learning C# will be a breeze (I think I learned C# in a few hours, lol).

  12. #12

    Thread Starter
    Hyperactive Member squakMix's Avatar
    Join Date
    Oct 2003
    Location
    Washington
    Posts
    342
    Originally posted by kasracer
    Read #2. You need to buy a book or you'll just confuse the hell out of yourself

    btw, you are allowed to edit your posts. Just fyi

    edit: I seen what you deleted, lol
    Heh, I figured out it was a mistake on my part. I set up the sub Differently than they want you to (I treated it like it was vb6 :P).
    -squaK

  13. #13

    Thread Starter
    Hyperactive Member squakMix's Avatar
    Join Date
    Oct 2003
    Location
    Washington
    Posts
    342
    Ah, Well, I want to do it all. The first thing I really want to do Is get the basics Down Completely Before I tackle any projects.
    I made that mistake with vb... I started making programs right away, and Worked it out as I did it. Then I didnt know how to set DLL references and stuff. Bad idea on my part.

    Anyway, I would like To start out with writing simple programs... I want to do something In modeling and Design Later on, But I need to know this.

    Thanks.
    -squaK

  14. #14
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    If you want to learn C++, look at these suggestions:
    STL
    C++ Primer Plus, Fourth Edition by Stephen Prata - A self-contained introduction to C++. I suggest starting with this. It's clearly written and easy to understand.
    The C++ Programming Language, Special Edition by Bjarne Stroustrup - Written by the creator of C++. This is a comprehensive reference for C++ and you will need it as an intermediate programmer. However, I find that it is a bit too difficult for a beginning programmer to understand alone.
    C++ FAQs, Second Edition by Marshall Cline, Greg Lomow, and Mike Girou - This excellent book teaches proper C++ style and points out common flaws in programs and designs
    Those recommendations were written by someone I know and they are very good books. You probably won't need all 3 (you may only need 1). Those will cover the basics of C++ and the C++ standard.

    Then after that you can go on to learning some sort of library like OpenGL, DirectX, MFC, wxWindows, qt, Win32 API, ATL, .NET, ect..

    If you want to learn VB.NET, I'm not sure what a good book would be to recommend but the book I got (which I never really used much) was 'Teach Yourself Visual Basic .NET in 21 days' by Holzner.

  15. #15
    Frenzied Member
    Join Date
    May 2003
    Location
    So Cal
    Posts
    1,564
    This is the VB6- forum, there is a seperate VB.NET forum.

    http://www.vbforums.com/forumdisplay.php?s=&forumid=25

    Originally posted by squakMix
    I tried something like:
    Why? This is still VB isnt it!?

  16. #16
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Originally posted by BrianS
    This is the VB6- forum, there is a seperate VB.NET forum.

    http://www.vbforums.com/forumdisplay.php?s=&forumid=25
    Originally posted by kasracer
    wrong forum.
    He knows

  17. #17

    Thread Starter
    Hyperactive Member squakMix's Avatar
    Join Date
    Oct 2003
    Location
    Washington
    Posts
    342
    I know, I wanted to finish This post. I posted here originally, And then Realized. Since I couldnt move my post, I thought I would just finish this conversation.
    -squaK

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